fixes #9
* Makefile calls setup.py for dist * Makefile uses find for clean * MANIFEST.in includes Makefile
This commit is contained in:
parent
7846033113
commit
c176a3d901
2 changed files with 3 additions and 13 deletions
|
@ -1 +1 @@
|
|||
include AUTHORS ChangeLog COPYING
|
||||
include AUTHORS ChangeLog COPYING Makefile
|
||||
|
|
14
Makefile
14
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue