]> granicus.if.org Git - psmisc/commitdiff
Makefile.am: create src/ before src/signames.h
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 14 Oct 2018 14:07:23 +0000 (16:07 +0200)
committerCraig Small <csmall@enc.com.au>
Wed, 7 Nov 2018 09:22:30 +0000 (20:22 +1100)
This fixes out-of-tree builds which use
--disable-dependency-tracking. With dependency tracking enabled,
src/.deps is created as a side-effect of how dependency tracking
works, which is why this issue was never noticed before.

Makefile.am

index d8c46192557415b747d1e7fb96a65f45e22ffa5e..88598180f91fcc6db40268d65b274fd8d2a07403 100644 (file)
@@ -79,7 +79,7 @@ EXTRA_DIST = src/signames.c README.md misc/git-version-gen
 
 CLEANFILES = src/signames.h
 
-src/signames.h: src/signames.c Makefile
+src/signames.h: src/signames.c Makefile src/$(am__dirstamp)
                export LC_ALL=C ; \
                @CPP@ -dM $< |\
                tr -s '\t ' ' ' | sort -n -k 3 | sed \