|
|
# | # |
# Copyright (c) 2004-2005, Doug Harple. All rights reserved. | # Copyright (c) 2004-2005, Doug Harple. All rights reserved. |
# |
# |
# Redistribution and use in source and binary forms, with or without | # Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are | # modification, are permitted provided that the following conditions are |
# met: | # met: |
# |
# |
# 1. Redistributions of source code must retain the above copyright | # 1. Redistributions of source code must retain the above copyright |
# notice, this list of conditions and the following disclaimer. | # notice, this list of conditions and the following disclaimer. |
# |
# |
# 2. Redistributions in binary form must reproduce the above copyright | # 2. Redistributions in binary form must reproduce the above copyright |
# notice, this list of conditions and the following disclaimer in the | # notice, this list of conditions and the following disclaimer in the |
# documentation and/or other materials provided with the distribution. | # documentation and/or other materials provided with the distribution. |
# |
# |
# 3. Neither the name of author nor the names of its contributors may be | # 3. Neither the name of author nor the names of its contributors may be |
# used to endorse or promote products derived from this software | # used to endorse or promote products derived from this software |
# without specific prior written permission. | # without specific prior written permission. |
# |
# |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
# |
# |
# $Id: Makefile.in,v 1.24.2.7 2005/03/13 07:47:13 purgedhalo Exp $ | # $Id: Makefile.in,v 1.24.2.7 2005/03/13 07:47:13 purgedhalo Exp $ |
# | # |
| |
|
|
${INSTALL} -d ${DESTDIR}${sysconfdir} | ${INSTALL} -d ${DESTDIR}${sysconfdir} |
${INSTALL} -d ${DESTDIR}${datadir}/detox | ${INSTALL} -d ${DESTDIR}${datadir}/detox |
${INSTALL} detox ${DESTDIR}${bindir} | ${INSTALL} detox ${DESTDIR}${bindir} |
${INSTALL} -m 644 detox.1 ${DESTDIR}${mandir}/man1 |
${INSTALL} detox.1 ${DESTDIR}${mandir}/man1 |
${INSTALL} -m 644 detoxrc.5 detox.tbl.5 ${DESTDIR}${mandir}/man5 |
${INSTALL} detoxrc.5 detox.tbl.5 ${DESTDIR}${mandir}/man5 |
| |
install-safe-config: | install-safe-config: |
@if [ ! -f ${DESTDIR}${sysconfdir}/detoxrc ]; then \ | @if [ ! -f ${DESTDIR}${sysconfdir}/detoxrc ]; then \ |
${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}; \ |
${INSTALL} detoxrc ${DESTDIR}${sysconfdir}; \ |
else \ | else \ |
echo "${DESTDIR}${sysconfdir}/detoxrc exists, skipping"; \ | echo "${DESTDIR}${sysconfdir}/detoxrc exists, skipping"; \ |
fi | fi |
@if [ ! -f ${DESTDIR}${datadir}/detox/iso8859_1.tbl ]; then \ | @if [ ! -f ${DESTDIR}${datadir}/detox/iso8859_1.tbl ]; then \ |
${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox; \ |
${INSTALL} iso8859_1.tbl ${DESTDIR}${datadir}/detox; \ |
else \ | else \ |
echo "${DESTDIR}${datadir}/detox/iso8859_1.tbl exists, skipping"; \ | echo "${DESTDIR}${datadir}/detox/iso8859_1.tbl exists, skipping"; \ |
fi | fi |
@if [ ! -f ${DESTDIR}${datadir}/detox/unicode.tbl ]; then \ | @if [ ! -f ${DESTDIR}${datadir}/detox/unicode.tbl ]; then \ |
${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox; \ |
${INSTALL} unicode.tbl ${DESTDIR}${datadir}/detox; \ |
else \ | else \ |
echo "${DESTDIR}${datadir}/detox/unicode.tbl exists, skipping"; \ | echo "${DESTDIR}${datadir}/detox/unicode.tbl exists, skipping"; \ |
fi | fi |
| |
install-unsafe-config: | install-unsafe-config: |
${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir} |
${INSTALL} detoxrc ${DESTDIR}${sysconfdir} |
${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox |
${INSTALL} iso8859_1.tbl ${DESTDIR}${datadir}/detox |
${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox |
${INSTALL} unicode.tbl ${DESTDIR}${datadir}/detox |
| |
install-sample-config: | install-sample-config: |
${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}/detoxrc.sample |
${INSTALL} detoxrc ${DESTDIR}${sysconfdir}/detoxrc.sample |
${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox/iso8859_1.tbl.sample |
${INSTALL} iso8859_1.tbl ${DESTDIR}${datadir}/detox/iso8859_1.tbl.sample |
${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox/unicode.tbl.sample |
${INSTALL} unicode.tbl ${DESTDIR}${datadir}/detox/unicode.tbl.sample |
| |
clean: | clean: |
rm -f *.o core *~ a.out *.core | rm -f *.o core *~ a.out *.core |
|
|
depend: | depend: |
mkdep ${CFLAGS} ${detoxSRC} | mkdep ${CFLAGS} ${detoxSRC} |
| |
dummy: |
dummy: |