Fix import target.

This commit is contained in:
Roy Marples 2010-02-27 15:33:18 +00:00
parent 0004fd9c4d
commit a69c2c712a

View File

@ -104,7 +104,7 @@ import:
${INSTALL} -d /tmp/${DISTPREFIX}
cp ${SRCS} dhcpcd.conf *.in /tmp/${DISTPREFIX}
cp $$(${CC} ${CPPFLAGS} -MM ${SRCS} | \
sed -e 's/^.*c //g' -e 's/\\//g' | \
sed -e 's/^.*\.c //g' -e 's/.*\.c$$//g' -e 's/\\//g' | \
tr ' ' '\n' | \
sed -e '/^compat\//d' | \
sort -u) /tmp/${DISTPREFIX}
@ -112,7 +112,7 @@ import:
${INSTALL} -d /tmp/${DISTPREFIX}/compat; \
cp ${COMPAT_SRCS} /tmp/${DISTPREFIX}/compat; \
cp $$(${CC} ${CPPFLAGS} -MM ${COMPAT_SRCS} | \
sed -e 's/^.*c //g' -e 's/\\//g' | \
sed -e 's/^.*c //g' -e 's/.*\.c$$//g' -e 's/\\//g' | \
tr ' ' '\n' | \
sort -u) /tmp/${DISTPREFIX}/compat; \
fi;