openbsd-ports/palm/coldsync/patches/patch-doc_Makefile
2006-07-17 18:51:49 +00:00

27 lines
1.1 KiB
Plaintext

$OpenBSD: patch-doc_Makefile,v 1.2 2006/07/17 18:51:49 espie Exp $
--- doc/Makefile.orig Sun Apr 14 09:26:20 2002
+++ doc/Makefile Mon Jul 17 20:38:16 2006
@@ -12,7 +12,7 @@ INFOFILES = ${TEXIFILES:.texi=.info}
# are no existing foo.info-* files, /bin/sh just expands the glob to the
# string "foo.info-*". Then 'make' complains that it doesn't know how to
# build this file.
-EXTRA_INFOFILES = ${TEXIFILES:.texi=.info-*}
+EXTRA_INFOFILES = ${TEXIFILES:.texi=.info*}
DVIFILES = ${TEXIFILES:.texi=.dvi}
PSFILES = ${TEXIFILES:.texi=.ps}
PDFFILES = ${TEXIFILES:.texi=.pdf}
@@ -122,9 +122,11 @@ install:: coldsync.8 ${INFOFILES}
done; \
done
-${MKDIR} ${SYSCONFDIR}
- ${INSTALL_DATA} sample.coldsync.rc ${SYSCONFDIR}/sample.coldsync.rc
+ ${MKDIR} -p ${PREFIX}/share/examples/coldsync
+ ${INSTALL_DATA} sample.coldsync.rc \
+ ${PREFIX}/share/examples/coldsync/sample.coldsync.rc
${MKDIR} ${INFODIR}
- @for file in ${INFOFILES} ${EXTRA_INFOFILES}; do \
+ @for file in ${EXTRA_INFOFILES}; do \
echo "${INSTALL_DATA} $${file} ${INFODIR}/$${file}"; \
${INSTALL_DATA} $${file} ${INFODIR}/$${file}; \
done