forked from veronika/inkscape-chain-paths
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (24 loc) · 792 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# a simple makefile to pull a tar ball or to release packages
DEST=/usr/share/inkscape/extensions
TARNAME=inkscape-chain-paths
EXCL=--exclude \*.orig --exclude \*.pyc
ALL=README.md *.png *.sh *.rules *.py *.inx examples misc silhouette
VERSION=$$(echo '<xml/>' | env LC_ALL=C python ./chain_paths.py --version /dev/stdin)
dist:
cd distribute; sh ./distribute.sh
#install is used by dist.
install:
mkdir -p $(DEST)
install -m 755 -t $(DEST) *.py
install -m 644 -t $(DEST) *.inx
tar_dist_classic: clean
name=$(TARNAME)-$(VERS); echo "$$name"; echo; \
tar jcvf $$name.tar.bz2 $(EXCL) --transform="s,^,$$name/," $(ALL)
grep Version ./*.inx
@echo version should be $(VERS)
tar_dist:
python setup.py sdist --format=bztar
mv dist/*.tar* .
rm -rf dist
clean:
rm -f *.orig */*.orig