From: Ian Jackson Date: Sun, 10 Nov 2024 22:57:56 +0000 (+0000) Subject: Makefile: Create the manpage dirs in the manpage install X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=3bfee5e1c23cbe201e26e21275c4a99edc2c8e91;p=authbind.git Makefile: Create the manpage dirs in the manpage install Otherwise during a parallel build they're racing with the other target, which can make it fail. --- diff --git a/Makefile b/Makefile index b8b8049..bb2b7a0 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ MANPAGES_8= authbind-helper.8 all: $(TARGETS) install: $(TARGETS) - $(INSTALL_DIR) $(DESTDIR)$(bin_dir) $(DESTDIR)$(lib_dir) $(DESTDIR)$(man1_dir) $(DESTDIR)$(man8_dir) + $(INSTALL_DIR) $(DESTDIR)$(bin_dir) $(DESTDIR)$(lib_dir) $(INSTALL_PROGRAM) $(BINTARGETS) $(DESTDIR)$(bin_dir)/. $(INSTALL_FILE) $(LIBTARGET) $(DESTDIR)$(lib_dir)/. $(STRIP) --strip-unneeded $(DESTDIR)$(lib_dir)/$(LIBTARGET) @@ -71,6 +71,7 @@ install: $(TARGETS) $(DESTDIR)$(etc_dir)/byport $(DESTDIR)$(etc_dir)/byaddr $(DESTDIR)$(etc_dir)/byuid install_man: $(MANPAGES_1) $(MANPAGES_8) + $(INSTALL_DIR) $(DESTDIR)$(man1_dir) $(DESTDIR)$(man8_dir) $(INSTALL_FILE) $(MANPAGES_1) $(DESTDIR)$(man1_dir)/. $(INSTALL_FILE) $(MANPAGES_8) $(DESTDIR)$(man8_dir)/.