Create man1

Ensure full path leading to man page is created before attempting to
install the file there.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2024-09-13 21:25:16 +02:00
parent 37a27c70cf
commit 9c9b06fb4d
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -16,7 +16,7 @@ usage:
@echo 'Available targets: "install", "uninstall"' @echo 'Available targets: "install", "uninstall"'
install: install:
install -d '$(DESTDIR)$(BINDIR)' '$(DESTDIR)$(MANDIR)' '$(DESTDIR)$(SYSCONFDIR)' '$(DESTDIR)$(SYSCONFDIR)/authorized-exec' install -d '$(DESTDIR)$(BINDIR)' '$(DESTDIR)$(MANDIR)/man1' '$(DESTDIR)$(SYSCONFDIR)' '$(DESTDIR)$(SYSCONFDIR)/authorized-exec'
install authorized-exec.pl '$(DESTDIR)$(BINDIR)/authorized-exec' install authorized-exec.pl '$(DESTDIR)$(BINDIR)/authorized-exec'
install -m 0644 config.example.pl '$(DESTDIR)$(SYSCONFDIR)/authorized-exec/config.example' install -m 0644 config.example.pl '$(DESTDIR)$(SYSCONFDIR)/authorized-exec/config.example'
pod2man authorized-exec.pod > '$(DESTDIR)$(MANDIR)/man1/authorized-exec.1' pod2man authorized-exec.pod > '$(DESTDIR)$(MANDIR)/man1/authorized-exec.1'