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-list | |
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-list')
-rw-r--r-- | fc-list/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fc-list/Makefile.am b/fc-list/Makefile.am index d40700a4..7822ad47 100644 --- a/fc-list/Makefile.am +++ b/fc-list/Makefile.am @@ -44,8 +44,8 @@ fc_list_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) |