]> git.proxmox.com Git - extjs.git/commitdiff
buildsys: fix source tarball generation
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 May 2023 09:42:33 +0000 (11:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 May 2023 09:42:35 +0000 (11:42 +0200)
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>
Makefile

index f3554a4f2e90ca84491238254620e1d4de598c31..2c7d88144baa1b9c923b6df6286e50b58adaac39 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ $(DEB): $(BUILDDIR)
        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)