Move the new target after "all".
authorWayne Davison <wayne@opencoder.net>
Tue, 30 Jun 2020 03:04:54 +0000 (20:04 -0700)
committerWayne Davison <wayne@opencoder.net>
Tue, 30 Jun 2020 03:04:54 +0000 (20:04 -0700)
packaging/auto-Makefile

index 097a5d8730f3560a7bd77749b88e0caefeceaca9..cc181536ef9ffe693ff1a6539a41b345364260a8 100644 (file)
@@ -3,9 +3,9 @@ TARGETS := all install install-ssl-daemon install-all install-strip conf gen gen
 
 .PHONY: $(TARGETS) auto-prep
 
+$(TARGETS): auto-prep
+       make -C build $@
+
 auto-prep:
        @if test x`packaging/prep-auto-dir` = x; then echo "auto-build-save is not setup"; exit 1; fi
        @echo 'Build branch: '`readlink build/.branch | tr % /`
-
-$(TARGETS): auto-prep
-       make -C build $@