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}
$(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`
$(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