about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-03-02T20·22+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-03-02T20·22+0000
commit158aa8931776c61e19cec62e7cea7c45961fdcc7 (patch)
tree74b689ea98af5317f9698b81a98277ab27932546
parent56af8e86e3e00d8417838f582221e60e1d5f5fdb (diff)
* Ensure that `make install' works without a prior `make'.
-rw-r--r--externals/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/Makefile.am b/externals/Makefile.am
index 3fc13314f846..2fde866ea2b9 100644
--- a/externals/Makefile.am
+++ b/externals/Makefile.am
@@ -24,7 +24,7 @@ build-aterm: $(ATERM)
 	$(MAKE) check)
 	touch build-aterm
 
-install-exec-local::
+install-exec-local:: build-aterm
 	cd $(ATERM) && make install
 	rm -rf "$(DESTDIR)/$(pkglibdir)/dummy"
 endif
@@ -53,7 +53,7 @@ build-bzip2: $(BZIP2)
 	$(MAKE) install PREFIX=$(abs_builddir)/inst-bzip2)
 	touch build-bzip2
 
-install-exec-local::
+install-exec-local:: build-bzip2
 	mkdir -p $(DESTDIR)${bzip2_bin}
 	$(INSTALL_PROGRAM) $(bzip2_bin_test)/bzip2 $(bzip2_bin_test)/bunzip2 $(DESTDIR)${bzip2_bin}
 endif
@@ -83,7 +83,7 @@ build-sqlite: $(SQLITE)
 	$(MAKE) )
 	touch build-sqlite
 
-install-exec-local::
+install-exec-local:: build-sqlite
 	cd $(SQLITE) && make install
 	rm -rf "$(DESTDIR)/$(pkglibdir)/dummy"
 endif