Commit 45defb75 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Reduce dist to one tar call

parent 24d0bbd3
...@@ -144,13 +144,7 @@ test: ${OBJECTS} ...@@ -144,13 +144,7 @@ test: ${OBJECTS}
$(QUIET)make -C tests run $(QUIET)make -C tests run
dist: clean build-manpages dist: clean build-manpages
$(QUIET)tar -czf $(TARFILE) `git ls-files` $(QUIET)tar -czf $(TARFILE) --exclude=.gitignore `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}
doc: doc:
$(QUIET)make -C doc $(QUIET)make -C doc
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment