summaryrefslogtreecommitdiff
path: root/fc-pattern
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-pattern
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-pattern')
-rw-r--r--fc-pattern/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/fc-pattern/Makefile.am b/fc-pattern/Makefile.am
index a7db2105..fa66006c 100644
--- a/fc-pattern/Makefile.am
+++ b/fc-pattern/Makefile.am
@@ -44,8 +44,8 @@ fc_pattern_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)