summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2005-08-26 20:26:55 +0000
committerShaun McCance <shaunm@src.gnome.org>2005-08-26 20:26:55 +0000
commit500abdbd3a4bc0680e0d3dbc26ebf2d22cdbc127 (patch)
treeb7f9489f0b7a2b3c013478f313b9a046f5c26ddd
parentdaee712ad6c748b9dfb217a1de714ea20bfef767 (diff)
downloadgnome-doc-utils-500abdbd3a4bc0680e0d3dbc26ebf2d22cdbc127.tar.gz
- Only take one input file for xsldoc
* gnome-doc-utils.make: - Only take one input file for xsldoc
-rw-r--r--ChangeLog5
-rw-r--r--gnome-doc-utils.make6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7e417c3..be4ed29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-08-26 Shaun McCance <shaunm@gnome.org>
+ * gnome-doc-utils.make:
+ - Only take one input file for xsldoc
+
+2005-08-26 Shaun McCance <shaunm@gnome.org>
+
* po/pt_BR.po:
- Fixed broken XML
diff --git a/gnome-doc-utils.make b/gnome-doc-utils.make
index e26d23d..c861782 100644
--- a/gnome-doc-utils.make
+++ b/gnome-doc-utils.make
@@ -162,10 +162,14 @@ rngdoc: $(_RNGDOC_C_DOCS)
################################################################################
## @@ Rules for xsldoc
+# FIXME: _XSLDOC_XSLS is getting dupes with relative/absolute in some
+# cases. Right now, I'm just taking the first, but that's just a bad
+# work-around. Fix the real problem.
xsldoc_args = \
--stringparam xsldoc.id \
$(shell echo $(basename $(notdir $(1))) | sed -e 's/[^A-Za-z0-9_-]/_/g')\
- $(_xsldoc) $(filter %/$(basename $(notdir $(1))).xsl,$(_XSLDOC_XSLS))
+ $(_xsldoc) \
+ $(word 1,$(filter %/$(basename $(notdir $(1))).xsl,$(_XSLDOC_XSLS)))
## @ _XSLDOC_XSLS
## The actual XSLT files for which to generate documentation with xsldoc