highlight/highlight-2.4-makefile.patch
2005-10-10 17:05:39 +00:00

47 lines
1.7 KiB
Diff

--- highlight-2.4-2/makefile.mak 2005-09-22 22:51:16.000000000 +0200
+++ highlight-2.4-2/makefile 2005-10-10 18:19:47.000000000 +0200
@@ -9,8 +9,8 @@
data_dir = ${DESTDIR}/usr/share/highlight/
# Location where the highlight binary will be installed:
-bin_dir = ${DESTDIR}/usr/local/bin/
-# bin_dir = ${DESTDIR}/usr/bin/
+# bin_dir = ${DESTDIR}/usr/local/bin/
+bin_dir = ${DESTDIR}/usr/bin/
# Location where the highlight man page will be installed:
man_dir = ${DESTDIR}/usr/share/man/man1/
@@ -46,13 +46,7 @@
@echo "Configuration directory: ${conf_dir}"
@echo
- ${MKDIR} ${doc_dir}
${MKDIR} ${conf_dir}
- ${MKDIR} ${examples_dir} \
- ${examples_dir}cgi \
- ${examples_dir}cgi/perl \
- ${examples_dir}cgi/php \
- ${examples_dir}swig
${MKDIR} ${data_dir} \
${data_dir}themes \
${data_dir}langDefs \
@@ -67,18 +61,6 @@
${INSTALL_DATA} ./indentSchemes/*.indent ${data_dir}indentSchemes/
${INSTALL_DATA} ./helpmsg/*.help ${data_dir}helpmsg/
${INSTALL_DATA} ./man/highlight.1.gz ${man_dir}
- ${INSTALL_DATA} ./AUTHORS ${doc_dir}
- ${INSTALL_DATA} ./README ${doc_dir}
- ${INSTALL_DATA} ./README_DE ${doc_dir}
- ${INSTALL_DATA} ./README_INDENT ${doc_dir}
- ${INSTALL_DATA} ./ChangeLog ${doc_dir}
- ${INSTALL_DATA} ./COPYING ${doc_dir}
- ${INSTALL_DATA} ./INSTALL ${doc_dir}
- ${INSTALL_DATA} ./examples/cgi/php/* ${examples_dir}cgi/php
- ${INSTALL_DATA} ./examples/swig/*.py ./examples/swig/*.pl ${examples_dir}swig
- ${INSTALL_DATA} ./examples/swig/*.i ./examples/swig/makefile ${examples_dir}swig
- ${INSTALL_DATA} ./examples/swig/README_SWIG ${doc_dir}
- ${INSTALL_PROGRAM} ./examples/cgi/perl/highlight.cgi ${examples_dir}cgi/perl
${INSTALL_PROGRAM} ./highlight/highlight ${bin_dir}
@echo