[tracker] manpages: Drop manpages of configuration settings/files
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] manpages: Drop manpages of configuration settings/files
- Date: Sat, 14 May 2016 20:29:50 +0000 (UTC)
commit 97861fa1b728f23bdeedf8afd8171e24bd286321
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat May 14 14:22:48 2016 +0200
manpages: Drop manpages of configuration settings/files
Gsettings are self-documenting, plus translatable. There is no need to
duplicate this documentation, and even less if it focuses on the
deprecated keyfile format. It is time to hide that under the rug.
configure.ac | 27 ------------------
docs/manpages/Makefile.am | 3 +-
docs/manpages/gsettings.xsl | 54 -------------------------------------
src/libtracker-data/Makefile.am | 14 ---------
src/libtracker-fts/Makefile.am | 14 ---------
src/miners/fs/Makefile.am | 14 ---------
src/tracker-extract/Makefile.am | 14 ---------
src/tracker-store/Makefile.am | 14 ---------
src/tracker-writeback/Makefile.am | 14 ---------
9 files changed, 1 insertions(+), 167 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7cf5f6c..26960f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1793,32 +1793,6 @@ fi
AM_CONDITIONAL(HAVE_LIBXML2, test "x$have_libxml2" = "xyes")
-##################################################################
-# Check for xsltproc, used to generate cfg man pages (5)
-##################################################################
-
-AC_ARG_ENABLE([cfg-man-pages],
- AS_HELP_STRING([--enable-cfg-man-pages],
- [enable man pages for config (.cfg) files [[default=yes]]]),
- [enable_cfg_man_pages=$enableval],
- [enable_cfg_man_pages=yes])
-
-if test "x$enable_cfg_man_pages" != "xno" ; then
- # Check for graphviz if we are building gtk_doc
- AC_PATH_PROG(XSLTPROC, xsltproc)
- AC_SUBST(XSLTPROC)
-else
- have_xsltproc="no (disabled)"
-fi
-
-if test "x$enable_cfg_man_pages" = "xyes"; then
- if test -z "$XSLTPROC"; then
- AC_MSG_ERROR([Could not find xsltproc, try installing libxslt.])
- fi
-fi
-
-AM_CONDITIONAL(HAVE_XSLTPROC, test -n "$XSLTPROC")
-
####################################################################
# Check for tracker-extract: gstreamer/etc
####################################################################
@@ -2793,7 +2767,6 @@ Build Configuration:
Win32: $native_win32
Enable gtk doc (for documentation): $enable_gtk_doc
- Enable man pages for GSettings: $enable_cfg_man_pages
Enable functional tests: $enable_functional_tests
Enable unit tests: $have_unit_tests
diff --git a/docs/manpages/Makefile.am b/docs/manpages/Makefile.am
index 1651d77..5e0a980 100644
--- a/docs/manpages/Makefile.am
+++ b/docs/manpages/Makefile.am
@@ -37,5 +37,4 @@ EXTRA_DIST = \
$(common) \
$(tp) \
$(tn) \
- $(tmrss) \
- gsettings.xsl
+ $(tmrss)
diff --git a/src/libtracker-data/Makefile.am b/src/libtracker-data/Makefile.am
index 7835d1f..4dad050 100644
--- a/src/libtracker-data/Makefile.am
+++ b/src/libtracker-data/Makefile.am
@@ -87,20 +87,6 @@ gsettings_SCHEMAS = org.freedesktop.Tracker.DB.gschema.xml
@GSETTINGS_RULES@
-if HAVE_XSLTPROC
-DATE=`date +'%B %Y'`
-man_MANS = tracker-db.cfg.5
-else
-man_MANS =
-endif
-
-%.cfg.5: $(gsettings_SCHEMAS)
- $(AM_V_GEN)$(XSLTPROC) \
- --stringparam version "${VERSION}" \
- --stringparam current-date "${DATE}" \
- --stringparam config-file "$(@:.cfg.5=.cfg)" \
- $(top_srcdir)/docs/manpages/gsettings.xsl $^ > $@
-
# Dist / Clean rules for all data
BUILT_SOURCES = \
libtracker_data_la_vala.stamp
diff --git a/src/libtracker-fts/Makefile.am b/src/libtracker-fts/Makefile.am
index 327dd03..49e3784 100644
--- a/src/libtracker-fts/Makefile.am
+++ b/src/libtracker-fts/Makefile.am
@@ -39,20 +39,6 @@ gsettings_SCHEMAS = org.freedesktop.Tracker.FTS.gschema.xml
@GSETTINGS_RULES@
-if HAVE_XSLTPROC
-DATE=`date +'%B %Y'`
-man_MANS = tracker-fts.cfg.5
-else
-man_MANS =
-endif
-
-%.cfg.5: $(gsettings_SCHEMAS)
- $(AM_V_GEN)$(XSLTPROC) \
- --stringparam version "${VERSION}" \
- --stringparam current-date "${DATE}" \
- --stringparam config-file "$(@:.cfg.5=.cfg)" \
- $(top_srcdir)/docs/manpages/gsettings.xsl $^ > $@
-
# Dist / Clean rules for all data
CLEANFILES = \
$(gsettings_SCHEMAS) \
diff --git a/src/miners/fs/Makefile.am b/src/miners/fs/Makefile.am
index 27bd016..73978d4 100644
--- a/src/miners/fs/Makefile.am
+++ b/src/miners/fs/Makefile.am
@@ -102,20 +102,6 @@ gsettings_SCHEMAS = org.freedesktop.Tracker.Miner.Files.gschema.xml
@GSETTINGS_RULES@
-if HAVE_XSLTPROC
-DATE=`date +'%B %Y'`
-man_MANS = $(libexec_PROGRAMS).cfg.5
-else
-man_MANS =
-endif
-
-%.cfg.5: $(gsettings_SCHEMAS)
- $(AM_V_GEN)$(XSLTPROC) \
- --stringparam version "${VERSION}" \
- --stringparam current-date "${DATE}" \
- --stringparam config-file "$(@:.cfg.5=.cfg)" \
- $(top_srcdir)/docs/manpages/gsettings.xsl $^ > $@
-
# Dist / Clean rules for all data
CLEANFILES = \
$(autostart_DATA) \
diff --git a/src/tracker-extract/Makefile.am b/src/tracker-extract/Makefile.am
index b56808b..3ccc2d0 100644
--- a/src/tracker-extract/Makefile.am
+++ b/src/tracker-extract/Makefile.am
@@ -614,20 +614,6 @@ gsettings_SCHEMAS = org.freedesktop.Tracker.Extract.gschema.xml
@GSETTINGS_RULES@
-if HAVE_XSLTPROC
-DATE=`date +'%B %Y'`
-man_MANS = $(libexec_PROGRAMS).cfg.5
-else
-man_MANS =
-endif
-
-%.cfg.5: $(gsettings_SCHEMAS)
- $(AM_V_GEN)$(XSLTPROC) \
- --stringparam version "${VERSION}" \
- --stringparam current-date "${DATE}" \
- --stringparam config-file "$(@:.cfg.5=.cfg)" \
- $(top_srcdir)/docs/manpages/gsettings.xsl $^ > $@
-
# Dist / Clean rules for all data
CLEANFILES += \
$(autostart_DATA) \
diff --git a/src/tracker-store/Makefile.am b/src/tracker-store/Makefile.am
index 83cb77e..d7a6b86 100644
--- a/src/tracker-store/Makefile.am
+++ b/src/tracker-store/Makefile.am
@@ -99,20 +99,6 @@ schemalist = org.freedesktop.Tracker.gschema.xml
@GSETTINGS_RULES@
-if HAVE_XSLTPROC
-DATE=`date +'%B %Y'`
-man_MANS = $(libexec_PROGRAMS).cfg.5
-else
-man_MANS =
-endif
-
-%.cfg.5: $(config)
- $(AM_V_GEN)$(XSLTPROC) \
- --stringparam version "${VERSION}" \
- --stringparam current-date "${DATE}" \
- --stringparam config-file "$(@:.cfg.5=.cfg)" \
- $(top_srcdir)/docs/manpages/gsettings.xsl $^ > $@
-
# Dist / Clean rules for all data
CLEANFILES = \
$(autostart_DATA) \
diff --git a/src/tracker-writeback/Makefile.am b/src/tracker-writeback/Makefile.am
index 146a29e..94110cf 100644
--- a/src/tracker-writeback/Makefile.am
+++ b/src/tracker-writeback/Makefile.am
@@ -80,20 +80,6 @@ gsettings_SCHEMAS = org.freedesktop.Tracker.Writeback.gschema.xml
@GSETTINGS_RULES@
-if HAVE_XSLTPROC
-DATE=`date +'%B %Y'`
-man_MANS = $(libexec_PROGRAMS).cfg.5
-else
-man_MANS =
-endif
-
-%.cfg.5: $(gsettings_SCHEMAS)
- $(AM_V_GEN)$(XSLTPROC) \
- --stringparam version "${VERSION}" \
- --stringparam current-date "${DATE}" \
- --stringparam config-file "$(@:.cfg.5=.cfg)" \
- $(top_srcdir)/docs/manpages/gsettings.xsl $^ > $@
-
# Dist / Clean rules for all data
CLEANFILES = \
$(service_DATA) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]