63 lines
2.7 KiB
Diff
63 lines
2.7 KiB
Diff
--- highlight-2.6.1/makefile.mak 2007-06-21 23:32:34.000000000 +0200
|
|
+++ highlight-2.6.1/makefile 2007-07-10 20:16:18.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
|
|
@@ -47,21 +47,12 @@ all-gui:
|
|
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 \
|
|
@@ -76,20 +67,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} ./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_PROGRAM} ./src/highlight ${DESTDIR}${bin_dir}
|
|
|
|
@echo
|
|
@@ -115,7 +92,6 @@ install-gui:
|
|
uninstall:
|
|
@echo "Removing highlight files from system..."
|
|
${RMDIR} ${DESTDIR}${data_dir}
|
|
- ${RMDIR} ${DESTDIR}${doc_dir}
|
|
${RMDIR} ${DESTDIR}${conf_dir}
|
|
rm ${DESTDIR}${man_dir}highlight.1.gz
|
|
rm ${DESTDIR}${bin_dir}highlight
|