summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 6819214adea4713bc4437023a681826fb4383350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CTAGS_EXTRA := $(shell ctags --version 2>&1 | grep -iq universal && echo extras || echo extra)
.PHONY: tags
tags:
	ctags -R --$(CTAGS_EXTRA)=+fq --python-kinds=+cfmvi

.PHONY: cleantags
cleantags:
	rm -f tags

.PHONY: pyclean
pyclean:
	@find . -type f \( -name \*~ -o -name \*.pyc \) -delete

clean: pyclean cleantags