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:19 +0100 |
commit | 4c342f495e347bd1a9c2b4bed4be4f9aafe145b0 (patch) | |
tree | 6534e1a00966ea78bd6b4695c64cc0554965452f | |
parent | 9ce6b70090d3ddf6842f833923ae08ae1d9042dd (diff) | |
download | mtest-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-- | 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 |