diff options
author | Akira TAGOH <akira@tagoh.org> | 2012-03-16 16:29:53 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2012-03-16 16:34:37 +0900 |
commit | 93460f93e9e55e39a42fb6474918f31539436d9c (patch) | |
tree | c2cc6c53091a84386292e8f3de2266c32ad86832 /fc-cache | |
parent | f2813ffc689fb6972ff4d5d414c3abfa3e0be26f (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-cache')
-rw-r--r-- | fc-cache/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fc-cache/Makefile.am b/fc-cache/Makefile.am index 300c9669..8f455c8e 100644 --- a/fc-cache/Makefile.am +++ b/fc-cache/Makefile.am @@ -53,8 +53,8 @@ fc_cache_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) |