From f99d581c1f0bd5dc5b6cd7742e72d243d76a08b6 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Tue, 12 Feb 2008 22:14:43 +0000 Subject: [PATCH] chmod in install-man3 may lead to 'argument list too long' --- docs/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Makefile.am b/docs/Makefile.am index 62c085b..9f15842 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -135,6 +135,8 @@ manpages.ar : zziplib.xml zzipmmapped.xml zzipfseeko.xml ; $(XMLTO) -o man3 man zzipmmapped.xml \ ; echo '$(XMLTO) -o man3 man zzipfseeko.xml' \ ; $(XMLTO) -o man3 man zzipfseeko.xml \ + ; echo 'chmod 664 man3/*.3' \ + ; chmod 664 man3/*.3 \ ; echo 'ar qc "$@" man3/*.3' \ ; ar qc "$@" man3/*.3 \ ; echo '$(DELETE); rm man3/*.3 ; rmdir man3' \ @@ -170,7 +172,7 @@ htmpages.ar : zziplib.xml zzipmmapped.xml zzipfseeko.xml zziplib-manpages.dbk install-man3 : manpages.ar $(mkinstalldirs) $(DESTDIR)$(mandir)/man3 P=`pwd` ; cd $(DESTDIR)$(mandir)/man3 \ - && ar x $$P/manpages.ar && chmod 664 * + && ar x $$P/manpages.ar unpack : manpages.ar htmpages.ar (rm -rf _htm && mkdir _htm && cd _htm && ar x ../htmpages.ar) -- 2.40.0