diff options
Diffstat (limited to 'package/openswan/patches/patch-doc_Makefile')
-rw-r--r-- | package/openswan/patches/patch-doc_Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/openswan/patches/patch-doc_Makefile b/package/openswan/patches/patch-doc_Makefile new file mode 100644 index 000000000..d5accab8c --- /dev/null +++ b/package/openswan/patches/patch-doc_Makefile @@ -0,0 +1,11 @@ +--- openswan-2.6.21.orig/doc/Makefile 2009-03-30 15:11:28.000000000 +0200 ++++ openswan-2.6.21/doc/Makefile 2009-06-13 14:35:32.000000000 +0200 +@@ -91,7 +91,7 @@ install: ${alldocs} ${SAMPLEMAN} + do \ + $(INSTALL) $$file ${DOCDIR} || exit 1;\ + done; +- /bin/bash -c 'MANDIR=${MANTREE}; /usr/bin/find ${OPENSWANSRCDIR}/programs ${OPENSWANSRCDIR}/lib ${OPENSWANSRCDIR}/linux -type f -name "*.[1-8]" -print | grep -v lwres | grep -v CVS | while read f; do if [ -f $$f ]; then manNo=$${f##*.}; F=$${f##*/}; /bin/mkdir -p $$MANDIR/man$$manNo; /bin/cp -fp $$f $$MANDIR/man$$manNo/ipsec_$$F; fi; done' ++ bash -c 'MANDIR=${MANTREE}; find ${OPENSWANSRCDIR}/programs ${OPENSWANSRCDIR}/lib ${OPENSWANSRCDIR}/linux -type f -name "*.[1-8]" -print | grep -v lwres | grep -v CVS | while read f; do if [ -f $$f ]; then manNo=$${f##*.}; F=$${f##*/}; mkdir -p $$MANDIR/man$$manNo; cp -fp $$f $$MANDIR/man$$manNo/ipsec_$$F; fi; done' + + install_file_list: + @$(foreach f, $(alldocs), \ |