summaryrefslogtreecommitdiff
path: root/docs/Makefile.am
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2014-05-13 21:12:51 +0200
committerStef Walter <stefw@gnome.org>2014-05-13 21:29:47 +0200
commit1fdc7a48650cedc15921a878fae557f9aa4e6c08 (patch)
treef22c5c03a09bf0f07d7a319d5e13531cd0fb6080 /docs/Makefile.am
parentb324fe2d976512b7705beca57ff9a62630cc6c83 (diff)
downloadgnome-keyring-1fdc7a48650cedc15921a878fae557f9aa4e6c08.tar.gz
Revert "Revert "Add docs/ directory back into Makefile""
This reverts commit b324fe2d976512b7705beca57ff9a62630cc6c83.
Diffstat (limited to 'docs/Makefile.am')
-rw-r--r--docs/Makefile.am34
1 files changed, 19 insertions, 15 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 75e9bbf6..e9215604 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,17 +1,20 @@
generated_mans = \
- gnome-keyring-daemon.1 \
- gnome-keyring.1 \
+ docs/gnome-keyring-daemon.1 \
+ docs/gnome-keyring.1 \
$(NULL)
-man1_MANS = $(generated_mans) \
- gnome-keyring-3.1 \
+man1_MANS = \
+ $(generated_mans) \
+ docs/gnome-keyring-3.1 \
$(NULL)
MAN_IN_FILES = \
- $(generated_mans:.1=.xml)
+ docs/gnome-keyring-daemon.xml \
+ docs/gnome-keyring.xml \
+ $(NULL)
-CLEANFILES = \
+CLEANFILES += \
$(generated_mans)
XSLTPROC_FLAGS = \
@@ -22,16 +25,17 @@ XSLTPROC_FLAGS = \
--stringparam man.authors.section.enabled 0 \
--stringparam man.copyright.section.enabled 0
-XSLTPROC_MAN = \
- $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
+XSLTPROC_XSL = \
+ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
.xml.1:
- $(AM_V_GEN) $(XSLTPROC_MAN) $<
-
-EXTRA_DIST = \
- file-format.txt \
- keyring-intro.txt \
- gnome-keyring.svg \
+ $(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_MAN) $(XSLTPROC_FLAGS) \
+ --output $@ $(XSLTPROC_XSL) $<
+
+EXTRA_DIST += \
+ docs/file-format.txt \
+ docs/keyring-intro.txt \
+ docs/gnome-keyring.svg \
+ docs/gnome-keyring-3.1 \
$(MAN_IN_FILES) \
- gnome-keyring-3.1 \
$(NULL)