aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-06-23 13:07:35 -0400
committerRob Austein <sra@hactrn.net>2016-06-23 13:07:35 -0400
commit7bbbb682d2557d7aeba63709a27838b36055db26 (patch)
tree1d19b111e765e1d4eb885bea4419fc88abf14591 /GNUmakefile
parent357ca59060848fb72367b67ccae137d66de6fe34 (diff)
"git clean" doesn't work as intended under pbuilder.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 2824b68..5d1fbde 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -47,22 +47,21 @@ all: ${TARGETS}
clean:
rm -f ${TARGETS} $(notdir ${HDR}.tmp)
- cd ${REPO}; git clean -dxf
+ cd ${REPO}; ${MAKE} clean
distclean: clean
- git submodule deinit ${REPO}
rm -f TAGS
${HDR}:
git submodule update --init
${LIB}: ${HDR}
+ cd ${REPO}; ${MAKE} clean
ifeq "" "${SHA256SUM}"
@echo "Couldn't find sha256sum, not verifying distribution checksums"
else
${SHA256SUM} --check Checksums
endif
- cd ${REPO}; git clean -dxf
cd ${REPO}; ${MAKE} CFLAGS='${CFLAGS}'
$(notdir ${HDR}): ${HDR}