]> git.proxmox.com Git - lxc.git/commitdiff
buildsys: fix source tarball generation directory level one-off
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 May 2023 10:36:29 +0000 (12:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 May 2023 10:36:37 +0000 (12:36 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 55565e77dba533082129c35d26d78c959846f990..bfd712e0b861491ed3a7cc45364b46993e3af160 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ $(DEB1): $(BUILDSRC)
        lintian $(DEBS)
 
 $(ORIG_SRC_TAR): $(BUILDSRC)
-       tar czf $(ORIG_SRC_TAR) -C $(BUILDSRC) .
+       tar czf $(ORIG_SRC_TAR) --exclude="$(BUILDSRC)/debian" $(BUILDSRC)
 
 .PHONY: dsc
 dsc: $(DSC)