From: Roy Marples Date: Wed, 28 Aug 2019 21:58:43 +0000 (+0100) Subject: build: Fix import-src on FreeBSD X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9ab4af9b61fcd518b1c6c1fc41b55ca2b09284b;p=thirdparty%2Fdhcpcd.git build: Fix import-src on FreeBSD --- diff --git a/src/Makefile b/src/Makefile index eccca522..ef16def5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -143,10 +143,10 @@ _import-src: ${SRCS} rm -f ${DESTDIR}/src/if-bsd.h ${DESTDIR}/src/if-linux.h ${DESTDIR}/src/if-sun.h if [ -n "${COMPAT_SRCS}" ]; then \ ${INSTALL} -d ${DESTDIR}/compat; \ - touch ../compat/rb.h ../compat/strtou.h; \ cd ..; \ + touch compat/rb.h compat/strtou.h; \ cp ${COMPAT_SRCS} ${COMPAT_SRCS:.c=.h} ${DESTDIR}/compat; \ - rm ../compat/rb.h ../compat/strtou.h; \ + rm compat/rb.h compat/strtou.h; \ rm -f ${DESTDIR}/compat/rb.h ${DESTDIR}/compat/strtou.h; \ fi if ! grep HAVE_SYS_BITOPS_H ../config.h; then \