]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix the import target a little.
authorRoy Marples <roy@marples.name>
Fri, 20 Nov 2009 12:40:59 +0000 (12:40 +0000)
committerRoy Marples <roy@marples.name>
Fri, 20 Nov 2009 12:40:59 +0000 (12:40 +0000)
Makefile

index 150acf51405393b5d9e7a551e824d726807e5635..26fa3f3426ad9fb7ad321b08a200c706b8e57400 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ CLEANFILES+=  *.tar.bz2
 .in:
        ${SED} ${SED_DBDIR} ${SED_HOOKDIR} ${SED_SCRIPT} ${SED_SYS} $< > $@
 
-all: ${PROG} ${SCRIPTS} ${MAN5} ${MAN8}
+all: config.h ${PROG} ${SCRIPTS} ${MAN5} ${MAN8}
 
 .c.o:
        ${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@
@@ -106,6 +106,7 @@ import:
        cp $$(${CC} ${CPPFLAGS} -MM ${SRCS} | \
                sed -e 's/^.*c //g' -e 's/\\//g' | \
                tr ' ' '\n' | \
+               sed -e '/^compat\//d' | \
                sort -u) /tmp/${DISTPREFIX}
        if test -n "${COMPAT_SRCS}"; then \
                ${INSTALL} -d /tmp/${DISTPREFIX}/compat; \