diff options
author | Will Thompson <will@willthompson.co.uk> | 2012-01-17 17:37:50 +0000 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2012-01-17 17:37:50 +0000 |
commit | 91082d01ff3fb99e503b309f6bb4ac75ecc5dc9d (patch) | |
tree | bd53643dc6f514fba1c073d4b2dd0319317e44cf /Makefile | |
parent | fc924626dca6edcdcd7a483390e3a42ed2e18c32 (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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |