File: makefile

package info (click to toggle)
podcastparser 0.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 456 kB
  • sloc: python: 588; makefile: 155
file content (26 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PACKAGE := podcastparser

PYTHON ?= python
FIND ?= find
NOSETESTS ?= $(PYTHON) -m nose

help:
	@echo ""
	@echo "$(MAKE) test ......... Run unit tests"
	@echo "$(MAKE) clean ........ Clean build directory"
	@echo "$(MAKE) distclean .... $(MAKE) clean + remove 'dist/'"
	@echo ""

test:
	$(NOSETESTS)

clean:
	$(FIND) . -name '*.pyc' -o -name __pycache__ -exec $(RM) -r '{}' +
	$(RM) -r build
	$(RM) .coverage MANIFEST

distclean: clean
	$(RM) -r dist

.PHONY: help test clean
.DEFAULT: help