From 9c9b06fb4d646cc03247a50a5122d79f1be0c160 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Fri, 13 Sep 2024 21:25:16 +0200 Subject: [PATCH] Create man1 Ensure full path leading to man page is created before attempting to install the file there. Signed-off-by: Georg Pfuetzenreuter --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d9588b7..7091eea 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ usage: @echo 'Available targets: "install", "uninstall"' 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 -m 0644 config.example.pl '$(DESTDIR)$(SYSCONFDIR)/authorized-exec/config.example' pod2man authorized-exec.pod > '$(DESTDIR)$(MANDIR)/man1/authorized-exec.1'