Commit 2887e04c authored by Timo Teräs's avatar Timo Teräs

build: make install depend on main targets

apparently the double colon rule dependencies affect only the
specific rule-set.
parent 8cacc96b
......@@ -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)
......
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment