debian want's this to be a level higher as it seems like autotools
also defaults to generating a source tar ball that contains
PROJECT-VERSION as top level directory. Otherwise dpkg-source thinks
that the whole source differs by itself, added at another level,
going then bonkers.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
lintian $@
$(ORIG_SRC_TAR): $(BUILDDIR)
- tar czf $(ORIG_SRC_TAR) -C $(BUILDDIR) --exclude='./debian' .
+ tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDDIR)/debian" $(BUILDDIR)
.PHONY: dsc
dsc: $(DSC)