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$
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue