diff options
author | merakor <cem@ckyln.com> | 2021-07-27 21:36:59 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-07-27 21:36:59 +0000 |
commit | 74c675e3d1528c0b78dd7a79408622f43bdba587 (patch) | |
tree | 48265b452f0477941c32e9e66ea0b19059d42ccd /Makefile | |
parent | 95563d3a1893135d31e6f0df1d7e60acd2a547bb (diff) | |
download | cpt-74c675e3d1528c0b78dd7a79408622f43bdba587.tar.gz |
Makefile: update targetsconfigure
FossilOrigin-Name: ee0d6bb03d2647fb825ec9b1b153dc54f9f75e100e0adda72f843604d1ee1c6c
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,5 +1,5 @@ # Carbs Packaging Tools -include config.mk +-include config.mk INSTALL_SH = ./tools/install.sh CONTRIB = `find contrib -name 'cpt*' ! -name '*.*'` @@ -9,7 +9,8 @@ LIB = src/cpt-lib LIB_IN = ${LIB:=.in} all: src/cpt-lib - test "${DOCS}" != yes || ${MAKE} -C docs all + @if ! [ -e config.mk ]; then echo "Please run './configure'"; exit 1; fi + @test "${DOCS}" != yes || ${MAKE} -C docs all src/cpt-lib: src/cpt-lib.in sed -e "s|@VERSION@|${VERSION}|g" \ @@ -56,4 +57,7 @@ clean: rm -rf src/cpt-lib "cpt-${VERSION}.tar.xz" coverage report rm -f tests/etc/cpt-hook -.PHONY: all dist clean install uninstall shellspec shellcheck test +allclean: clean + rm -f config.mk + +.PHONY: all dist allclean clean install uninstall shellspec shellcheck test |