]> git.proxmox.com Git - extjs.git/commitdiff
buildsys: cleanup & shorten generating source directory target
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 May 2023 08:48:17 +0000 (10:48 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 May 2023 09:30:04 +0000 (11:30 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 561db2e64f5ac361c235bf4f27833de6a2a002cd..5f14443661cbbfce52099692a5a3fa06db9c144e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,9 @@ DSC=$(PACKAGE)_$(DEB_VERSION_UPSTREAM_REVISION).dsc
 all: deb
 
 $(BUILDDIR): debian extjs
-       rm -rf $@ $@.tmp
-       mkdir $@.tmp
-       rsync -a debian/ $@.tmp/debian
-       mkdir $@.tmp/extjs
-       rsync -a extjs/build/ $@.tmp/extjs/build
+       rm -rf $@ $@.tmp && mkdir -p $@.tmp/extjs
+       cp -a debian/ $@.tmp/debian
+       cp -a extjs/build/ $@.tmp/extjs/build
        cp extjs/licenses/license.txt $@.tmp/debian/copyright
        mv $@.tmp $@