mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 18:56:01 +01:00
Reduce dist to one tar call
This commit is contained in:
parent
24d0bbd341
commit
45defb75eb
1 changed files with 1 additions and 7 deletions
8
Makefile
8
Makefile
|
@ -144,13 +144,7 @@ test: ${OBJECTS}
|
|||
$(QUIET)make -C tests run
|
||||
|
||||
dist: clean build-manpages
|
||||
$(QUIET)tar -czf $(TARFILE) `git ls-files`
|
||||
$(QUIET)rm -rf ${TARDIR}
|
||||
$(QUIET)mkdir -p ${TARDIR}
|
||||
$(QUIET)tar -xvf ${TARFILE} -C ${TARDIR}
|
||||
$(QUIET)find ${TARDIR} -name '.gitignore' -exec rm {} \;
|
||||
$(QUIET)tar -czf ${TARFILE} ${TARDIR}
|
||||
$(QUIET)rm -rf ${TARDIR}
|
||||
$(QUIET)tar -czf $(TARFILE) --exclude=.gitignore `git ls-files`
|
||||
|
||||
doc:
|
||||
$(QUIET)make -C doc
|
||||
|
|
Loading…
Reference in a new issue