summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2012-01-17 17:37:50 +0000
committerWill Thompson <will@willthompson.co.uk>2012-01-17 17:37:50 +0000
commit91082d01ff3fb99e503b309f6bb4ac75ecc5dc9d (patch)
treebd53643dc6f514fba1c073d4b2dd0319317e44cf /Makefile
parentfc924626dca6edcdcd7a483390e3a42ed2e18c32 (diff)
Makefile: run ldd-me-up only after building the UI
Using a $(shell) substitution causes the command to be run immediately, which is not going to work the first time you run this rule since the file being ldd'd won't exist yet.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 332f91b..6fe133b 100644
--- a/Makefile
+++ b/Makefile
@@ -50,5 +50,6 @@ maintainer-binary-tarball: all
cp $(BINARIES) $(TARBALL_FULL_DIR)
mkdir -p $(TARBALL_FULL_DIR)/lib
cp LICENSE.bundled-libraries $(TARBALL_FULL_DIR)/lib
- cp $(shell ./ldd-me-up.sh $(TARBALL_FULL_DIR)/bin/bustle) $(TARBALL_FULL_DIR)/lib
+ ./ldd-me-up.sh $(TARBALL_FULL_DIR)/bin/bustle \
+ | xargs -I XXX cp XXX $(TARBALL_FULL_DIR)/lib
cd $(TARBALL_PARENT_DIR) && tar cjf $(TARBALL) $(TARBALL_DIR)