From 4e82a7343d33dbc6204d8c9f5aad14d073ea1b63 Mon Sep 17 00:00:00 2001 From: Vlasta Vesely Date: Sat, 4 Jan 2020 08:54:49 +0100 Subject: [PATCH] update makefile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 24b2f7a..a0cabee 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX=/usr +PREFIX=/usr/local .PHONY: main test install uninstall clean @@ -31,6 +31,7 @@ doc/%.gz: doc/%.adoc asciidoctor -d manpage -b manpage $< -o $(<:.adoc=) && gzip -f $(<:.adoc=) install: + install -m 0755 -d $(PREFIX)/bin $(PREFIX)/share/man/man1 install -m 0755 iast $(PREFIX)/bin install -m 644 doc/iast.1.gz $(PREFIX)/share/man/man1 @@ -39,4 +40,4 @@ uninstall: rm -f $(PREFIX)/share/man/man1/$(PROGNAME).1.gz clean: - $(RM) iast *.o *.d doc/*.gz + $(RM) iast *.o */*.o *.d */*.d doc/*.gz