Skip to content

Commit b046693

Browse files
committed
Makefile: use git archive to build the archive
1 parent 802d88e commit b046693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ doc: FORCE
44
PYTHONPATH=$(shell pwd)/lib find lib/advene -name '*.py' | xargs -n 500 epydoc -o doc/html -n Advene --inheritance=grouped
55

66
archive:
7-
tar -C .. --exclude=.github --exclude=mac --exclude=locale --exclude=lib/cherrypy --exclude=\*.pyc --exclude=build/ --exclude=.git --exclude=.svn --exclude=\*~ -cvzf ../$(name).tgz $(name)
7+
git archive --prefix=$(name)/ --output=../$(name).tgz HEAD
88

99
FORCE:
1010

0 commit comments

Comments
 (0)