From: Roy Marples Date: Fri, 20 Nov 2009 12:40:59 +0000 (+0000) Subject: Fix the import target a little. X-Git-Tag: v5.1.4~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4e9932ebd6813c6fd64b49bf41acc732f601acf;p=thirdparty%2Fdhcpcd.git Fix the import target a little. --- diff --git a/Makefile b/Makefile index 150acf51..26fa3f34 100644 --- 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; \