summaryrefslogtreecommitdiff
path: root/fc-cat
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 /fc-cat
parentf2813ffc689fb6972ff4d5d414c3abfa3e0be26f (diff)
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 'fc-cat')
-rw-r--r--fc-cat/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/fc-cat/Makefile.am b/fc-cat/Makefile.am
index 5874595..8a2939a 100644
--- a/fc-cat/Makefile.am
+++ b/fc-cat/Makefile.am
@@ -44,8 +44,8 @@ fc_cat_LDADD = ${top_builddir}/src/libfontconfig.la
if USEDOCBOOK
${man_MANS}: ${SGML}
- $(RM) $@
- $(DOC2MAN) ${SGML}
+ $(AM_V_GEN) $(RM) $@; \
+ $(DOC2MAN) ${SGML}; \
$(RM) manpage.*
all-local: $(man_MANS)