File: Makefile

package info (click to toggle)
python-pychart 1.39-6
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,840 kB
  • ctags: 1,836
  • sloc: python: 6,899; makefile: 81; sh: 38
file content (23 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUBDIRS=doc demos PyChart

dist:
	python setup.py sdist

clean:
	rm -f *~
	-for dir in $(SUBDIRS); do $(MAKE) -C$$dir clean; done

WWW_DIR=$(HOME)/gna/pychart
install:
	#rm -f $(WWW_DIR)/doc/*
	#rm -f $(WWW_DIR)/examples/*
	cp -r doc/pychart/* $(WWW_DIR)/doc
	cp -r doc/examples/* $(WWW_DIR)/examples
	baz changelog >$(WWW_DIR)/ChangeLog

copy:
	rm -rf ,,download
	mkdir ,,download
	(cd doc; tar czf ../,,download/pychart-doc.tar.gz pychart)
	cp dist/PyChart-1.38.tar.gz ,,download
	rsync --delete -avr --rsh="ssh" ,,download/* ysaito@download.gna.org:/upload/pychart