aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}