From 85abcf955d3a60e23e68aeebef8a52e56884f3d0 Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 11 Aug 2021 14:25:16 +0000 Subject: Makefile: don't run Makefile if config.mk doesn't exist FossilOrigin-Name: b5faffbadc715e31283c04c543a0df3ff9aa32552f212ff9872b6bb45570cfdc --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3