summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-09-13 11:54:03 +0100
committerRoy Marples <roy@marples.name>2019-09-13 11:54:03 +0100
commit3064915513e75fff6ae8ac0eeb74373f6c83f2d3 (patch)
tree42a98dcf339f67a7357d36d09d4b6b3e2480f1c5 /Makefile
parent075fd9c0249f61df88336873900c6ae59383988c (diff)
downloaddhcpcd-3064915513e75fff6ae8ac0eeb74373f6c83f2d3.tar.xz
build: distclean now recursively removes patch files and related
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dcd4624c..6e16ccef 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,8 @@ clean:
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}