summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2012-03-16 16:29:53 +0900
committerAkira TAGOH <akira@tagoh.org>2012-03-16 16:34:37 +0900
commit93460f93e9e55e39a42fb6474918f31539436d9c (patch)
treec2cc6c53091a84386292e8f3de2266c32ad86832 /conf.d
parentf2813ffc689fb6972ff4d5d414c3abfa3e0be26f (diff)
downloadfontconfig-93460f93e9e55e39a42fb6474918f31539436d9c.tar.gz
Fix a build issue due to the use of non-portable variables
$< isn't supported in BSD make say. $(RM) is pre-defined in GNU make though, not in BSD make say. so changed to check on configure if it's pre-defined by make, otherwise set the appropriate command to $(RM). This would be a workaround until it has the certain pre-defined value.
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf.d/Makefile.am b/conf.d/Makefile.am
index d122a8f..13f243b 100644
--- a/conf.d/Makefile.am
+++ b/conf.d/Makefile.am
@@ -86,14 +86,14 @@ install-data-local:
@(echo cd ${DESTDIR}${confddir}; \
cd ${DESTDIR}${confddir}; \
for i in ${CONF_LINKS}; do \
- rm -f $$i; \
- echo rm -f $$i";" ln -s ../conf.avail/$$i .; \
+ $(RM) $$i; \
+ echo $(RM) $$i";" ln -s ../conf.avail/$$i .; \
ln -s ../conf.avail/$$i .; \
done)
uninstall-local:
@(echo cd ${DESTDIR}${confddir}; \
cd ${DESTDIR}${confddir}; \
for i in ${CONF_LINKS}; do \
- echo rm -f $$i; \
- rm -f $$i; \
+ echo $(RM) $$i; \
+ $(RM) $$i; \
done)