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:19 +0100
commit4c342f495e347bd1a9c2b4bed4be4f9aafe145b0 (patch)
tree6534e1a00966ea78bd6b4695c64cc0554965452f
parent9ce6b70090d3ddf6842f833923ae08ae1d9042dd (diff)
downloadmtest-4c342f495e347bd1a9c2b4bed4be4f9aafe145b0.tar.gz
mtest-4c342f495e347bd1a9c2b4bed4be4f9aafe145b0.tar.bz2
mtest-4c342f495e347bd1a9c2b4bed4be4f9aafe145b0.zip
Makefile: do not perform install on simple "make"
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