Don't add unrelated stuff to the src tarball.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-11-02 19:14:01 +01:00
parent 2db3c902fb
commit d76757b21b
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ debsource: all
mkdir -p $(DEBSRCDIR)
for D in `ls | grep -v builds | grep -v sysroot`; do cp -r $$D $(DEBSRCDIR); done
(cd $(DEBSRCDIR) && make distclean)
rm $(DEBSRCDIR)/git-daemon-export-ok
rm -rf $(DEBSRCDIR)/sysroot
(cd builds && tar cfzv $(DEBSRCNAME)-src.tar.gz $(DEBSRCNAME)-src)
rm -rf $(DEBSRCDIR)