]> git.proxmox.com Git - framework7.git/commitdiff
buildsys: use cp instead of rsync for buildsys creation
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 26 Jun 2023 13:29:34 +0000 (15:29 +0200)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 26 Jun 2023 13:56:16 +0000 (15:56 +0200)
no need for rsync, additionally having an explicit list of the
builddir contents help when we create the orig.tar.gz from the
builddir. For example locally created patchfiles would else cause
issues with lintian on the source-package.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Makefile
defines.mk

index 58ff7cd0c8bfc37cae2e70b4e3b73928d8964396..b6e6a478e15f60f16a2204b6d4e218b5b76bc720 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,9 @@ BUILDDIR=$(PACKAGE)-$(DEB_VERSION_UPSTREAM_REVISION)
 
 $(BUILDDIR): debian
        rm -rf $@ $@.tmp
-       rsync -a ./* $@.tmp/
+       mkdir $@.tmp
+       cp -a $(SRCDIRS) $@.tmp
+       cp -a debian defines.mk Makefile $@.tmp
        mv $@.tmp $@
 
 .PHONY: deb
index ce8da426dcce0f4d19ca617e9e02e6df45999241..a1ab0e4ed4baa332c6671770b0b6aa04f56cfc4a 100644 (file)
@@ -24,3 +24,5 @@ MATERIALFONTS := MaterialIcons-Regular.ttf    \
                 MaterialIcons-Regular.woff2
 
 MATERIALCSS := material-icons.css
+
+SRCDIRS := $(F7DIR) $(F7ICONSDIR) $(MATERIALDIR)