wok-next view linux-man/stuff/installmandocs.patch @ rev 20188

collectd-apache: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 02 20:48:23 2017 +0100 (2017-11-02)
parents
children
line source
1 --- a/Documentation/DocBook/Makefile
2 +++ b/Documentation/DocBook/Makefile
3 @@ -65,10 +65,10 @@
4 find $(obj)/man -name '*.9' | xargs gzip -nf
6 installmandocs: mandocs
7 - mkdir -p /usr/local/man/man9/
8 + mkdir -p $(DESTDIR)/usr/share/man/man9/
9 find $(obj)/man -name '*.9.gz' -printf '%h %f\n' | \
10 sort -k 2 -k 1 | uniq -f 1 | sed -e 's: :/:' | \
11 - xargs install -m 644 -t /usr/local/man/man9/
12 + xargs install -m 644 -t $(DESTDIR)/usr/share/man/man9/
14 # no-op for the DocBook toolchain
15 epubdocs: