build: make install depend on main targets

apparently the double colon rule dependencies affect only the
specific rule-set.
cute-signatures
Timo Teras 2009-07-29 19:07:14 +03:00
parent 8cacc96bf0
commit 2887e04cd7
3 changed files with 3 additions and 4 deletions

View File

@ -241,8 +241,7 @@ endif
compile: $(targets)
@:
install:: $(targets) FORCE
@:
install: $(targets) FORCE
clean: $(filter %/,$(targets))
ifeq ($(toplevelrun),yes)

View File

@ -29,7 +29,7 @@ include Make.rules
##
# Top-level targets
install::
install:
$(INSTALLDIR) $(DESTDIR)$(DOCDIR)
$(INSTALL) README $(DESTDIR)$(DOCDIR)

View File

@ -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)