summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDoug Rabson <dfr@rabson.org>2022-06-28 08:14:44 +0100
committerDoug Rabson <dfr@rabson.org>2022-06-28 10:29:50 +0100
commitc55feb7bfb136534cdeb48ab66cc99e9ed37f692 (patch)
tree23955a590cd690969fcc41756124f8d59fedf40c /Makefile
parentaf16edf499d9ed320d5725b0828465cc5b184045 (diff)
downloadpodman-c55feb7bfb136534cdeb48ab66cc99e9ed37f692.tar.gz
podman-c55feb7bfb136534cdeb48ab66cc99e9ed37f692.tar.bz2
podman-c55feb7bfb136534cdeb48ab66cc99e9ed37f692.zip
Makefile: don't use '-t' to specify the directory to install manpages
This option doesn't exist on freebsd or macos' install utility. In this case, we can use the 'install file1 file2 ... dir' pattern which is supported by all implementations of install that I'm aware of. The makefile rule already creates the target directory so there is no ambiguity. No new tests are needed here since the same files are being installed in the same places. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson <dfr@rabson.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2ba6e1876..5a30b6a8b 100644
--- a/Makefile
+++ b/Makefile
@@ -763,9 +763,9 @@ install.modules-load: # This should only be used by distros which might use ipta
install.man:
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(MANDIR)/man1
install ${SELINUXOPT} -d -m 755 $(DESTDIR)$(MANDIR)/man5
- install ${SELINUXOPT} -m 644 $(filter %.1,$(MANPAGES_DEST)) -t $(DESTDIR)$(MANDIR)/man1
- install ${SELINUXOPT} -m 644 $(filter %.5,$(MANPAGES_DEST)) -t $(DESTDIR)$(MANDIR)/man5
- install ${SELINUXOPT} -m 644 docs/source/markdown/links/*1 -t $(DESTDIR)$(MANDIR)/man1
+ install ${SELINUXOPT} -m 644 $(filter %.1,$(MANPAGES_DEST)) $(DESTDIR)$(MANDIR)/man1
+ install ${SELINUXOPT} -m 644 $(filter %.5,$(MANPAGES_DEST)) $(DESTDIR)$(MANDIR)/man5
+ install ${SELINUXOPT} -m 644 docs/source/markdown/links/*1 $(DESTDIR)$(MANDIR)/man1
.PHONY: install.completions
install.completions: