]> granicus.if.org Git - sudo/commitdiff
The first (all) target must be by itself or some makes will choose
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 2 Apr 2013 16:40:53 +0000 (12:40 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 2 Apr 2013 16:40:53 +0000 (12:40 -0400)
the run the entire target list.

Makefile.in

index d62c5557ec21a4e9704136dc34dea7f3c6f731cc..ed9680330dd5d721638974174dd59517120f89b4 100644 (file)
@@ -78,7 +78,13 @@ XGETTEXT_OPTS = -F -k_ -kN_ --copyright-holder="Todd C. Miller" \
                --flag easprintf:3:c-format --flag lbuf_append:2:c-format \
                --flag lbuf_append_quoted:3:c-format --foreign-user
 
-all check pre-install: config.status
+all: config.status
+       for d in $(SUBDIRS); \
+           do (cd $$d && exec $(MAKE) $@) && continue; \
+           exit $$?; \
+       done
+
+check pre-install: config.status
        for d in $(SUBDIRS); \
            do (cd $$d && exec $(MAKE) $@) && continue; \
            exit $$?; \