From 0cfd2b26c29859490b67351266b90702f7aac0ff Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 3 Mar 2019 23:21:39 +0100 Subject: [PATCH] build: Honor the Filesystem Hierarchy Standard. According to this standard, man pages should go to /usr/share/man rather than to /usr/man. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index d610c54..7e44330 100644 --- a/Makefile +++ b/Makefile @@ -102,15 +102,15 @@ web/%.html: %.gz install: $(all) $(INSTALL) -d $(DESTDIR)$(PREFIX)/lib $(DESTDIR)$(PREFIX)/include \ - $(DESTDIR)$(PREFIX)/man/man1 $(DESTDIR)$(PREFIX)/man/man5 \ - $(DESTDIR)$(PREFIX)/man/man7 $(DESTDIR)$(PREFIX)/bin + $(DESTDIR)$(PREFIX)/share/man/man1 $(DESTDIR)$(PREFIX)/share/man/man5 \ + $(DESTDIR)$(PREFIX)/share/man/man7 $(DESTDIR)$(PREFIX)/bin $(INSTALL) -m 644 liblopsub.a $(DESTDIR)$(PREFIX)/lib $(INSTALL) -m 755 lopsubgen $(DESTDIR)$(PREFIX)/bin $(INSTALL) -m 644 lopsub.h $(DESTDIR)$(PREFIX)/include $(INSTALL) -m 644 lopsub-internal.h $(DESTDIR)$(PREFIX)/include - $(INSTALL) -m 644 lopsubgen.1.gz $(DESTDIR)$(PREFIX)/man/man1 - $(INSTALL) -m 644 lopsub-suite.5.gz $(DESTDIR)$(PREFIX)/man/man5 - $(INSTALL) -m 644 lopsub.7.gz $(DESTDIR)$(PREFIX)/man/man7 + $(INSTALL) -m 644 lopsubgen.1.gz $(DESTDIR)$(PREFIX)/share/man/man1 + $(INSTALL) -m 644 lopsub-suite.5.gz $(DESTDIR)$(PREFIX)/share/man/man5 + $(INSTALL) -m 644 lopsub.7.gz $(DESTDIR)$(PREFIX)/share/man/man7 clean: $(RM) $(all) $(html) *.o *.man -- 2.39.5