[beast: 41/47] EBEAST: simplify the v8bse/v8bse.node dependency checking for 'make app'
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 41/47] EBEAST: simplify the v8bse/v8bse.node dependency checking for 'make app'
- Date: Sat, 2 Sep 2017 00:45:22 +0000 (UTC)
commit 44db9582e509048ce3f9db449a1ead784107aca2
Author: Tim Janik <timj gnu org>
Date: Thu Jul 13 17:32:03 2017 +0200
EBEAST: simplify the v8bse/v8bse.node dependency checking for 'make app'
Signed-off-by: Tim Janik <timj gnu org>
ebeast/Makefile.am | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/ebeast/Makefile.am b/ebeast/Makefile.am
index 66c6df4..401e631 100644
--- a/ebeast/Makefile.am
+++ b/ebeast/Makefile.am
@@ -75,13 +75,11 @@ objects/vue-components.html: $(VUE_COMPONENTS_INPUTS) Makefile
# == app ==
app: .appstamp
-.appstamp: package.json xlinting v8bse/v8bse.node
-.appstamp: objects/app.css objects/gradient-01.png objects/vc-bundle.js objects/vue-components.html
+PRUNE_APPSTAMP := $(shell test -e v8bse/v8bse.node || rm -f .appstamp)
+.appstamp: package.json xlinting objects/app.css objects/gradient-01.png objects/vc-bundle.js
objects/vue-components.html
+ $(Q) $(MAKE) $(AM_MAKEFLAGS) -C v8bse v8bse.node
$(Q) rm -rf .bundlestamp "./$(BUNDLEDIR)" # avoid electron picking up stale resources
$(Q) touch $@
-v8bse/v8bse.node:
- $(Q) $(MAKE) $(AM_MAKEFLAGS) -C v8bse v8bse.node
-v8bse/v8bse.node: v8bse/*.cc v8bse/*.py v8bse/*.gyp v8bse/*.am
MOSTLYCLEANFILES += .appstamp
# == run ==
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]