summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-11-08 13:09:08 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-11-08 13:30:00 (EST)
commit3a00326d2ebaede5710fef4a7d8869caf650170f (patch)
treef86cf92718205c6f9ff74825a50b7841a35563a4
parentbbc67ca23cc75fc45b00d846e1319d3246cfb34a (diff)
src/*/build.mk: Fix error on missing directories
Error introduced by commit 6e46a695.
-rw-r--r--changelog7
-rw-r--r--src/2/build.mk4
-rw-r--r--src/3/build.mk4
3 files changed, 11 insertions, 4 deletions
diff --git a/changelog b/changelog
index 12b4ef4..7296b8c 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,10 @@
+platconf-pkg-tools (3.0.1) trunk
+
+ * build.mk files no longer throw an error when <src/build/> or
+ <src/run/> is missing.
+
+ -- Patrick McDermott <patrick.mcdermott@libiquity.com> Sun, 08 Nov 2020 13:08:46 -0500
+
platconf-pkg-tools (3.0.0) trunk
* New incompatible interface version 3:
diff --git a/src/2/build.mk b/src/2/build.mk
index 305e398..f53646f 100644
--- a/src/2/build.mk
+++ b/src/2/build.mk
@@ -40,5 +40,5 @@ install-run:
done
install:
- [ -d src/build/ ] && $(MAKE) -f $0 install-build
- [ -d src/run/ ] && $(MAKE) -f $0 install-run
+ if [ -d src/build/ ]; then $(MAKE) -f $0 install-build; fi
+ if [ -d src/run/ ]; then $(MAKE) -f $0 install-run ; fi
diff --git a/src/3/build.mk b/src/3/build.mk
index 65d177d..2d23d3d 100644
--- a/src/3/build.mk
+++ b/src/3/build.mk
@@ -36,5 +36,5 @@ install-run:
done
install:
- [ -d src/build/ ] && $(MAKE) -f $0 install-build
- [ -d src/run/ ] && $(MAKE) -f $0 install-run
+ if [ -d src/build/ ]; then $(MAKE) -f $0 install-build; fi
+ if [ -d src/run/ ]; then $(MAKE) -f $0 install-run ; fi