diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2021-02-13 12:31:17 +0100 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2021-02-13 12:32:27 +0100 |
commit | 46ed9f7d450c222da7ccedfc60a354d58e9e38d7 (patch) | |
tree | 23e7d82ec572c7f102adda9d12f7ab9519bc871a | |
parent | ff82fa20fcaeec14af0c9f369160c6b9ec4e40d2 (diff) | |
download | mtest-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-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |