commit 8ef956bb297a809a41991b3cac517f8010483985 parent 575e6082eb247c946b49a2b90a622e3241326f82 Author: Willy Goiffon <dev@z3bra.org> Date: Tue, 2 Jun 2020 13:20:29 +0200 Rename MANDIR to MANPREFIX Diffstat:
M | Makefile | | | 6 | +++--- |
M | config.mk | | | 2 | +- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile @@ -6,13 +6,13 @@ wendy: wendy.o install: wendy wendy.1 mkdir -p $(DESTDIR)$(PREFIX)/bin - mkdir -p $(DESTDIR)$(MANDIR)/man1 + mkdir -p $(DESTDIR)$(MANPREFIX)/man1 cp wendy $(DESTDIR)$(PREFIX)/bin/wendy - cp wendy.1 $(DESTDIR)$(MANDIR)/man1/wendy.1 + cp wendy.1 $(DESTDIR)$(MANPREFIX)/man1/wendy.1 uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/wendy - rm -f $(DESTDIR)$(MANDIR)/man1/wendy.1 + rm -f $(DESTDIR)$(MANPREFIX)/man1/wendy.1 clean: rm -f wendy *.o diff --git a/config.mk b/config.mk @@ -4,4 +4,4 @@ CFLAGS = LDFLAGS = PREFIX = /usr/local -MANDIR = $(PREFIX)/man +MANPREFIX = ${PREFIX}/man