File: Makefile

package info (click to toggle)
python-glpk 0.4.45-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 308 kB
  • sloc: python: 1,002; ansic: 873; makefile: 49
file content (21 lines) | stat: -rw-r--r-- 421 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DIR := $(shell basename `pwd`)

deb:	clean
	debuild

new:	clean
	rm -rf debian
	( cd .. && pwd && tar zcvf $(DIR).tar.gz $(DIR)/* )
	cp -p ../$(DIR).tar.gz ../$(DIR).orig.tar.gz

web:	deb
	debuild clean
	( cd .. && pwd && tar zcvf $(DIR).tar.gz $(DIR)/* )
	cp -p ../*.orig.tar.gz ~/public_html/code/python-glpk
	cp -p ../*.deb ~/public_html/code/python-glpk

clean:
	make -C src clean

.PHONY: install new deb web clean