summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-06 04:48:19 -0400
committermidipix <writeonce@midipix.org>2016-05-06 11:03:41 -0400
commitcaaafcbeba75491eed720ec8f1b2eda269644933 (patch)
tree2eb6ff72b309d9193ca09ab2362e88c7bfd2dc12
parent6022a0073fc9f5b462b9621b5b9fbae4d5ac40e3 (diff)
downloadapimagic-caaafcbeba75491eed720ec8f1b2eda269644933.tar.bz2
apimagic-caaafcbeba75491eed720ec8f1b2eda269644933.tar.xz
build system: fix dependency of app.tag, avoid unconditional step execution.
-rw-r--r--Makefile.in2
-rw-r--r--project/custom.mk3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 6e5312b..162e2f7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -115,7 +115,7 @@ app: package-app app-tag
app-tag: package-app app.tag
-app.tag: package-app
+app.tag:
cp $(PACKAGE_APP) $(APP)
touch app.tag
diff --git a/project/custom.mk b/project/custom.mk
index b0adcdd..3845121 100644
--- a/project/custom.mk
+++ b/project/custom.mk
@@ -31,6 +31,7 @@ ifeq ($(ALL_STATIC),yes)
package-app: static-app
app: PACKAGE_APP = $(STATIC_APP)
app-tag: PACKAGE_APP = $(STATIC_APP)
+app.tag: $(STATIC_APP)
else ifeq ($(ALL_SHARED),yes)
@@ -38,6 +39,7 @@ else ifeq ($(ALL_SHARED),yes)
package-app: shared-app
app: PACKAGE_APP = $(SHARED_APP)
app-tag: PACKAGE_APP = $(SHARED_APP)
+app.tag: $(SHARED_APP)
else
@@ -45,5 +47,6 @@ else
package-app: default-app
app: PACKAGE_APP = $(DEFAULT_APP)
app-tag: PACKAGE_APP = $(DEFAULT_APP)
+app.tag: $(DEFAULT_APP)
endif