highlight/highlight-2.6.9-makefile.patch
2008-03-31 18:46:45 +00:00

66 lines
2.9 KiB
Diff

diff -up highlight-2.6.9/makefile.mak highlight-2.6.9/makefile
--- highlight-2.6.9/makefile.mak 2008-03-26 22:17:36.000000000 +0100
+++ highlight-2.6.9/makefile 2008-03-31 20:40:34.000000000 +0200
@@ -25,7 +25,7 @@ doc_dir = ${PREFIX}/share/doc/highlight/
examples_dir = ${PREFIX}/share/doc/highlight/examples/
# Location of the highlight config files:
-conf_dir = ${PREFIX}/etc/highlight/
+conf_dir = /etc/highlight/
# Commands:
INSTALL_DATA=install -m644
@@ -51,21 +51,12 @@ all-gui-wx29:
install:
@echo "This script will install highlight in the following directories:"
@echo "Data directory: ${DESTDIR}${data_dir}"
- @echo "Documentation directory: ${DESTDIR}${doc_dir}"
- @echo "Examples directory: ${DESTDIR}${examples_dir}"
@echo "Manual directory: ${DESTDIR}${man_dir}"
@echo "Binary directory: ${DESTDIR}${bin_dir}"
@echo "Configuration directory: ${DESTDIR}${conf_dir}"
@echo
- ${MKDIR} ${DESTDIR}${doc_dir}
${MKDIR} ${DESTDIR}${conf_dir}
- ${MKDIR} ${DESTDIR}${examples_dir} \
- ${DESTDIR}${examples_dir}plugins \
- ${DESTDIR}${examples_dir}plugins/dokuwiki \
- ${DESTDIR}${examples_dir}plugins/movabletype \
- ${DESTDIR}${examples_dir}plugins/wordpress \
- ${DESTDIR}${examples_dir}swig
${MKDIR} ${DESTDIR}${data_dir} \
${DESTDIR}${data_dir}themes \
${DESTDIR}${data_dir}langDefs \
@@ -80,22 +71,6 @@ install:
${INSTALL_DATA} ./indentSchemes/*.indent ${DESTDIR}${data_dir}indentSchemes/
${INSTALL_DATA} ./helpmsg/*.help ${DESTDIR}${data_dir}helpmsg/
${INSTALL_DATA} ./man/highlight.1.gz ${DESTDIR}${man_dir}
- ${INSTALL_DATA} ./AUTHORS ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./README ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./README_DE ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./README_INDENT ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./README_REGEX ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./README_LANGLIST ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./ChangeLog ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./COPYING ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./INSTALL ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./examples/plugins/dokuwiki/* ${DESTDIR}${examples_dir}plugins/dokuwiki/
- ${INSTALL_DATA} ./examples/plugins/movabletype/* ${DESTDIR}${examples_dir}plugins/movabletype/
- ${INSTALL_DATA} ./examples/plugins/wordpress/* ${DESTDIR}${examples_dir}plugins/wordpress/
- ${INSTALL_DATA} ./examples/swig/*.py ./examples/swig/*.pl ${DESTDIR}${examples_dir}swig
- ${INSTALL_DATA} ./examples/swig/*.i ./examples/swig/makefile ${DESTDIR}${examples_dir}swig
- ${INSTALL_DATA} ./examples/swig/README_SWIG ${DESTDIR}${doc_dir}
- ${INSTALL_DATA} ./examples/highlight_pipe.* ${DESTDIR}${examples_dir}
${INSTALL_PROGRAM} ./src/highlight ${DESTDIR}${bin_dir}
@echo
@@ -121,7 +96,6 @@ install-gui:
uninstall:
@echo "Removing highlight files from system..."
${RMDIR} ${DESTDIR}${data_dir}
- ${RMDIR} ${DESTDIR}${doc_dir}
${RMDIR} ${DESTDIR}${conf_dir}
${RMDIR} ${DESTDIR}${examples_dir}
rm ${DESTDIR}${man_dir}highlight.1.gz