File: Makefile

package info (click to toggle)
python-linux-procfs 0.7.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 188 kB
  • sloc: python: 773; makefile: 17
file content (14 lines) | stat: -rw-r--r-- 318 bytes parent folder | download
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