aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2021-02-13 12:31:17 +0100
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2021-02-13 12:32:27 +0100
commit46ed9f7d450c222da7ccedfc60a354d58e9e38d7 (patch)
tree23e7d82ec572c7f102adda9d12f7ab9519bc871a
parentff82fa20fcaeec14af0c9f369160c6b9ec4e40d2 (diff)
downloadmtest-1.3.tar.gz
mtest-1.3.tar.bz2
mtest-1.3.zip
Makefile: do not perform install on simple "make"1.3
install: was first rule in makefile, which means it is called when make is run without any arguments. Installing anything without explicit user consent is poor design. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6a7ea86..4db7d6d 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,9 @@ DISTDIR ?= mtest-$(VERSION)
MKDIR ?= mkdir
RM ?= rm -f
+all:
+ @echo "all done"
+
install:
install -m 0644 -D -t $(DESTDIR)$(INCDIR) mtest.h
install -m 0644 -D -t $(DESTDIR)$(PREFIX)/man7 man/mtest_overview.7