* 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$ # version: $Id$
# #
PROJECT=btn4ws
VERSION=0.7.0
DISTBUILDDIR=tmp/$(PROJECT)-$(VERSION)
install: install:
install -d $(PREFIX)/$$(gimptool --gimpplugindir)/plug-ins install -d $(PREFIX)/$$(gimptool --gimpplugindir)/plug-ins
install btn4ws.py $(PREFIX)/$$(gimptool --gimpplugindir)/plug-ins install btn4ws.py $(PREFIX)/$$(gimptool --gimpplugindir)/plug-ins
@ -33,15 +29,9 @@ install-user:
gimptool --install-bin btn4ws.py gimptool --install-bin btn4ws.py
clean: clean:
rm *~ find . -type f -name '*~' -exec rm {} \;
dist: dist:
mkdir -p $(DISTBUILDDIR) python setup.py sdist
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
.PHONY: install install-user clean dist .PHONY: install install-user clean dist