From: Frédéric Marchal Date: Thu, 23 Dec 2010 19:13:50 +0000 (+0000) Subject: Store the man page in $(mandir)/man1 X-Git-Tag: v2.3.2~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36f9ca8a0b6dd58b51e5e9227c6ca24d78329a0c;p=thirdparty%2Fsarg.git Store the man page in $(mandir)/man1 The manpage was stored one directory level too high. Thanks to kodemi for reporting this. --- diff --git a/Makefile.in b/Makefile.in index e4f636f..805cf44 100644 --- a/Makefile.in +++ b/Makefile.in @@ -9,6 +9,7 @@ docdir = @docdir@ CC = @CC@ BINDIR = @bindir@ MANDIR = @mandir@ +MAN1DIR = $(MANDIR)/man1 SYSCONFDIR = @sysconfdir@ SARGPHPDIR = @SARGPHPDIR@ FONTDIR = @FONTDIR@ @@ -77,9 +78,9 @@ install: all install-po echo "creating $(DESTDIR)$(BINDIR)"; \ mkdir -p $(DESTDIR)$(BINDIR); \ fi - -@if test ! -d $(DESTDIR)$(MANDIR); then \ - echo "creating $(DESTDIR)$(MANDIR)"; \ - mkdir -p $(DESTDIR)$(MANDIR); \ + -@if test ! -d $(DESTDIR)$(MAN1DIR); then \ + echo "creating $(DESTDIR)$(MAN1DIR)"; \ + mkdir -p $(DESTDIR)$(MAN1DIR); \ fi -@if test ! -d $(DESTDIR)$(SYSCONFDIR); then \ echo "creating $(DESTDIR)$(SYSCONFDIR)"; \ @@ -91,8 +92,8 @@ install: all install-po fi $(INSTALL_PROGRAM) sarg $(DESTDIR)$(BINDIR)/sarg chmod 755 $(DESTDIR)$(BINDIR)/sarg - $(INSTALL_PROGRAM) sarg.1 $(DESTDIR)$(MANDIR)/sarg.1 - chmod 755 $(DESTDIR)$(MANDIR)/sarg.1 + $(INSTALL_PROGRAM) sarg.1 $(DESTDIR)$(MAN1DIR)/sarg.1 + chmod 755 $(DESTDIR)$(MAN1DIR)/sarg.1 @if test ! -f $(DESTDIR)$(SYSCONFDIR)/sarg.conf; then \ echo "cp $(DESTDIR)$(SYSCONFDIR)/sarg.conf"; \ cp sarg.conf $(DESTDIR)$(SYSCONFDIR)/sarg.conf; \ @@ -116,7 +117,7 @@ install: all install-po uninstall: uninstall-po rm -f $(DESTDIR)$(BINDIR)/sarg - rm -f $(DESTDIR)$(MANDIR)/sarg.1 + rm -f $(DESTDIR)$(MAN1DIR)/sarg.1 TAGS: $(SRCS) etags $(SRCS)