]> andersk Git - moira.git/commitdiff
fix depend rule for case with no DEPDIRS
authordanw <danw>
Tue, 26 May 1998 21:50:54 +0000 (21:50 +0000)
committerdanw <danw>
Tue, 26 May 1998 21:50:54 +0000 (21:50 +0000)
Makefile.in

index 3eef838b3ca98777a5bb3447b2d2e2dde0c71b71..8c5460d7c9934b8dc435aabc66217a0e21fe0abe 100644 (file)
@@ -27,7 +27,9 @@ clean:
        @for d in $(SUBDIRS); do (echo "### Making $@ in $$d"; cd $$d; $(MAKE) $@) || exit 1; done
 
 depend:
-       @for d in $(DEPDIRS); do (echo "### Making all in $$d"; cd $$d; $(MAKE) all) || exit 1; done
+       @if [ "x$(DEPDIRS)" != x ]; then \
+           for d in $(DEPDIRS); do (echo "### Making all in $$d"; cd $$d; $(MAKE) all) || exit 1; done; \
+       fi
        @for d in $(SUBDIRS); do (echo "### Making $@ in $$d"; cd $$d; $(MAKE) $@) || exit 1; done
 
 install:
This page took 1.098138 seconds and 5 git commands to generate.