summaryrefslogtreecommitdiff
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
parentb324fe2d976512b7705beca57ff9a62630cc6c83 (diff)
Revert "Revert "Add docs/ directory back into Makefile""
-rw-r--r--Makefile.am1
-rw-r--r--docs/Makefile.am34
2 files changed, 20 insertions, 15 deletions
diff --git a/Makefile.am b/Makefile.am
index 45a8bf0e..9f6bd2f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -194,6 +194,7 @@ EXTRA_DIST = \
$(VALGRIND_SUPPRESSIONS) \
$(NULL)
+include docs/Makefile.am
include egg/Makefile.am
include daemon/Makefile.am
include daemon/control/Makefile.am
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)