aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-08-11 14:25:16 +0000
committermerakor <cem@ckyln.com>2021-08-11 14:25:16 +0000
commit85abcf955d3a60e23e68aeebef8a52e56884f3d0 (patch)
treef5fbac8f3076320c318990c5cbbb04714f448e7d
parent2573792c68ee332d0f66d3cf5a5f2a0f7dc9ac10 (diff)
downloadcpt-85abcf955d3a60e23e68aeebef8a52e56884f3d0.tar.gz
Makefile: don't run Makefile if config.mk doesn't exist
FossilOrigin-Name: b5faffbadc715e31283c04c543a0df3ff9aa32552f212ff9872b6bb45570cfdc
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b2c7a5f..c424031 100644
--- a/Makefile
+++ b/Makefile
@@ -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