Mercurial > hg > dhcpcd
changeset 4711:ec253651b175 draft
build: distclean now recursively removes patch files and related
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Fri, 13 Sep 2019 11:54:03 +0100 |
| parents | 159d566198ed |
| children | bda97e54b985 |
| files | Makefile hooks/Makefile src/Makefile tests/Makefile tests/crypt/Makefile tests/eloop-bench/Makefile |
| diffstat | 6 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Sep 13 11:24:06 2019 +0100 +++ b/Makefile Fri Sep 13 11:54:03 2019 +0100 @@ -50,6 +50,8 @@ distclean: clean rm -f config.h config.mk config.log \ ${DISTFILE} ${DISTFILEGZ} ${DISTINFO} ${DISTINFOSIGN} + rm -f *.diff *.patch *.orig *.rej + for x in ${SUBDIRS} tests; do cd $$x; ${MAKE} $@ || exit $$?; cd ..; done dist-git: git archive --prefix=${DISTPREFIX}/ ${GITREF} | xz >${DISTFILE}
--- a/hooks/Makefile Fri Sep 13 11:24:06 2019 +0100 +++ b/hooks/Makefile Fri Sep 13 11:54:03 2019 +0100 @@ -36,6 +36,9 @@ clean: rm -f ${CLEANFILES} 50-ypbind +distclean: clean + rm -f *.diff *.patch *.orig *.rej + depend: proginstall: ${PROG} ${HOOKSCRIPTS}
--- a/src/Makefile Fri Sep 13 11:24:06 2019 +0100 +++ b/src/Makefile Fri Sep 13 11:54:03 2019 +0100 @@ -134,6 +134,7 @@ distclean: clean rm -f .depend + rm -f *.diff *.patch *.orig *.rej _import-src: ${SRCS} ${INSTALL} -d ${DESTDIR}/src
--- a/tests/Makefile Fri Sep 13 11:24:06 2019 +0100 +++ b/tests/Makefile Fri Sep 13 11:54:03 2019 +0100 @@ -10,6 +10,10 @@ clean: for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@ || exit $$?; cd ..; done +distclean: clean + rm -f *.diff *.patch *.orig *.rej + for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@ || exit $$?; cd ..; done + test: for x in ${SUBDIRS}; do cd $$x; ${MAKE} $@ || exit $$?; cd ..; done
