# Patch by Patrick Schoenfeld <schoenfeld@in-medias-res.com>
#
# Makes the upstream makefiles parallel build safe, by adding appropriate
# depends to the targets
@DPATCH@
diff -urNad detox-1.2.0~/Makefile.in detox-1.2.0/Makefile.in
--- detox-1.2.0~/Makefile.in 2008-04-12 03:02:47.000000000 +0200
+++ detox-1.2.0/Makefile.in 2008-04-12 11:53:48.483652221 +0200
@@ -131,7 +131,7 @@
${INSTALL} -m 644 detox.1 ${DESTDIR}${mandir}/man1
${INSTALL} -m 644 detoxrc.5 detox.tbl.5 ${DESTDIR}${mandir}/man5
-install-safe-config:
+install-safe-config: install-base
@if [ ! -f ${DESTDIR}${sysconfdir}/detoxrc ]; then \
${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}; \
else \
@@ -148,12 +148,12 @@
echo "${DESTDIR}${datadir}/detox/unicode.tbl exists, skipping"; \
fi
-install-unsafe-config:
+install-unsafe-config: install-base
${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}
${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox
${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox
-install-sample-config:
+install-sample-config: install-base
${INSTALL} -m 644 detoxrc ${DESTDIR}${sysconfdir}/detoxrc.sample
${INSTALL} -m 644 iso8859_1.tbl ${DESTDIR}${datadir}/detox/iso8859_1.tbl.sample
${INSTALL} -m 644 unicode.tbl ${DESTDIR}${datadir}/detox/unicode.tbl.sample