* Makefile calls setup.py for dist
 * Makefile uses find for clean
 * MANIFEST.in includes Makefile
This commit is contained in:
Jan Dittberner 2007-12-04 13:34:04 +00:00
parent 7846033113
commit c176a3d901
2 changed files with 3 additions and 13 deletions

View file

@ -1 +1 @@
include AUTHORS ChangeLog COPYING
include AUTHORS ChangeLog COPYING Makefile

View file

@ -21,10 +21,6 @@
# version: $Id$
#
PROJECT=btn4ws
VERSION=0.7.0
DISTBUILDDIR=tmp/$(PROJECT)-$(VERSION)
install:
install -d $(PREFIX)/$$(gimptool --gimpplugindir)/plug-ins
install btn4ws.py $(PREFIX)/$$(gimptool --gimpplugindir)/plug-ins
@ -33,15 +29,9 @@ install-user:
gimptool --install-bin btn4ws.py
clean:
rm *~
find . -type f -name '*~' -exec rm {} \;
dist:
mkdir -p $(DISTBUILDDIR)
cp btn4ws.py $(DISTBUILDDIR)
cp COPYING $(DISTBUILDDIR)
cp Makefile $(DISTBUILDDIR)
cp changelog $(DISTBUILDDIR)
cd tmp; tar c $(PROJECT)-$(VERSION) | gzip > ../../$(PROJECT)-$(VERSION).tar.gz
rm -r tmp
python setup.py sdist
.PHONY: install install-user clean dist