aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-06 16:34:54 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-06 16:34:54 -0500
commit9b80950ffe5535fb2c674e3ed12b34b72807a395 (patch)
tree14747d53f2c3eaa84c64a604c6446219321bd77e
parent92d6451ee6f72ce99dd735322ea92b6d84d2c39b (diff)
downloadteleterm-9b80950ffe5535fb2c674e3ed12b34b72807a395.tar.gz
teleterm-9b80950ffe5535fb2c674e3ed12b34b72807a395.zip
don't take pkg directory timestamp into account
otherwise it'll keep thinking things need to be rebuild every time a file is added to the pkg directory (which updates the directory mtime)
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c251430..cdcddde 100644
--- a/Makefile
+++ b/Makefile
@@ -51,13 +51,13 @@ package: pkg/$(DEB_PACKAGE) pkg/$(ARCH_PACKAGE)
pkg:
@mkdir pkg
-pkg/$(DEB_PACKAGE): pkg
+pkg/$(DEB_PACKAGE): | pkg
@cargo deb && mv target/debian/$(DEB_PACKAGE) pkg
pkg/$(DEB_PACKAGE).minisig: pkg/$(DEB_PACKAGE)
@minisign -Sm pkg/$(DEB_PACKAGE)
-pkg/$(ARCH_PACKAGE): pkg package/arch/PKGBUILD
+pkg/$(ARCH_PACKAGE): package/arch/PKGBUILD | pkg
@cd package/arch && makepkg -c && mv $(ARCH_PACKAGE) ../../pkg
pkg/$(ARCH_PACKAGE).minisig: pkg/$(ARCH_PACKAGE)