diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-29 19:07:14 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-29 19:07:14 +0300 |
commit | 2887e04cd7ea8fcc3e0815a11db6899d1c9535bf (patch) | |
tree | c0096f23136d61865fc37616d51eedea700b37c5 | |
parent | 8cacc96bf034ac40bb702651c939235fe19df824 (diff) | |
download | apk-tools-2887e04cd7ea8fcc3e0815a11db6899d1c9535bf.tar.gz apk-tools-2887e04cd7ea8fcc3e0815a11db6899d1c9535bf.tar.bz2 apk-tools-2887e04cd7ea8fcc3e0815a11db6899d1c9535bf.tar.xz apk-tools-2887e04cd7ea8fcc3e0815a11db6899d1c9535bf.zip |
build: make install depend on main targets
apparently the double colon rule dependencies affect only the
specific rule-set.
-rw-r--r-- | Make.rules | 3 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/Makefile | 2 |
3 files changed, 3 insertions, 4 deletions
@@ -241,8 +241,7 @@ endif compile: $(targets) @: -install:: $(targets) FORCE - @: +install: $(targets) FORCE clean: $(filter %/,$(targets)) ifeq ($(toplevelrun),yes) @@ -29,7 +29,7 @@ include Make.rules ## # Top-level targets -install:: +install: $(INSTALLDIR) $(DESTDIR)$(DOCDIR) $(INSTALL) README $(DESTDIR)$(DOCDIR) diff --git a/src/Makefile b/src/Makefile index 503a751..96e36b3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -21,6 +21,6 @@ LIBS := -Wl,--as-needed \ $(shell pkg-config --libs $(PKGDEPS)) \ -Wl,--no-as-needed -install:: +install: $(INSTALLDIR) $(DESTDIR)$(SBINDIR) $(INSTALL) $(obj)/apk $(DESTDIR)$(SBINDIR) |