From 91082d01ff3fb99e503b309f6bb4ac75ecc5dc9d Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Tue, 17 Jan 2012 17:37:50 +0000 Subject: 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. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3