aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Alexander Batischev <eual.jp@gmail.com> 2024-10-02 21:39:11 +0300
committerGravatar GitHub <noreply@github.com> 2024-10-02 21:39:11 +0300
commit5faa7f130c19bb846403ed0e25389bb81d2152c9 (patch)
tree72b142a46d0747bf995d49335d239509822a7ed6 /Makefile
parente642c126449dabd81ea53170fcc3322d5080a6c0 (diff)
downloadnewsboat-5faa7f130c19bb846403ed0e25389bb81d2152c9.tar.gz
newsboat-5faa7f130c19bb846403ed0e25389bb81d2152c9.tar.zst
newsboat-5faa7f130c19bb846403ed0e25389bb81d2152c9.zip
Replace -wholename with a more portable -path
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3ae39d5f..70b21077 100644
--- a/Makefile
+++ b/Makefile
@@ -361,9 +361,9 @@ install-docs: doc
$(MKDIR) $(DESTDIR)$(docdir)
$(INSTALL) -m 644 doc/xhtml/* $(DESTDIR)$(docdir)
$(INSTALL) -m 644 CHANGELOG.md $(DESTDIR)$(docdir)
- find contrib/ -type d ! -wholename 'contrib/completions' -print0 | xargs -0 -I@ $(MKDIR) $(DESTDIR)$(docdir)/@
- find contrib/ -type f ! -wholename 'contrib/completions*' -perm /0111 -print0 | xargs -0 -I@ install -m 755 @ $(DESTDIR)$(docdir)/@
- find contrib/ -type f ! -wholename 'contrib/completions*' ! -perm /0111 -print0 | xargs -0 -I@ install -m 644 @ $(DESTDIR)$(docdir)/@
+ find contrib/ -type d ! -path 'contrib/completions' -print0 | xargs -0 -I@ $(MKDIR) $(DESTDIR)$(docdir)/@
+ find contrib/ -type f ! -path 'contrib/completions*' -perm /0111 -print0 | xargs -0 -I@ install -m 755 @ $(DESTDIR)$(docdir)/@
+ find contrib/ -type f ! -path 'contrib/completions*' ! -perm /0111 -print0 | xargs -0 -I@ install -m 644 @ $(DESTDIR)$(docdir)/@
$(MKDIR) $(DESTDIR)$(mandir)/man1
$(INSTALL) -m 644 doc/$(NEWSBOAT).1 $(DESTDIR)$(mandir)/man1
$(INSTALL) -m 644 doc/$(PODBOAT).1 $(DESTDIR)$(mandir)/man1