diff options
author | merakor <cem@ckyln.com> | 2021-08-11 14:25:16 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-08-11 14:25:16 +0000 |
commit | 85abcf955d3a60e23e68aeebef8a52e56884f3d0 (patch) | |
tree | f5fbac8f3076320c318990c5cbbb04714f448e7d /Makefile | |
parent | 2573792c68ee332d0f66d3cf5a5f2a0f7dc9ac10 (diff) | |
download | cpt-85abcf955d3a60e23e68aeebef8a52e56884f3d0.tar.gz |
Makefile: don't run Makefile if config.mk doesn't exist
FossilOrigin-Name: b5faffbadc715e31283c04c543a0df3ff9aa32552f212ff9872b6bb45570cfdc
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 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 '*.*'` @@ -7,7 +7,6 @@ SRC = `find src -name 'cpt*' ! -name '*.*'` BIN = ${SRC} ${CONTRIB} all: src/cpt-lib - @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 @@ -30,7 +29,6 @@ tests/etc/cpt-hook: ln -s ../hook-file $@ dist: docs/cpt.info - @if ! [ -e config.mk ]; then echo "Please run './configure'"; exit 1; fi ./tools/mkdist.sh "${VERSION}" install: all |