[tracker] docs/manpages: Fixed the way we include man pages.



commit 627a6f335c6ac4051cc89315aefe39bb1998544f
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Jun 7 16:36:37 2011 +0100

    docs/manpages: Fixed the way we include man pages.
    
    This is fixed a different way for tracker-0.10.
    This fixes distcheck

 docs/manpages/Makefile.am |   44 ++++++++++++++++++++++----------------------
 1 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/docs/manpages/Makefile.am b/docs/manpages/Makefile.am
index 127787f..454b9fa 100644
--- a/docs/manpages/Makefile.am
+++ b/docs/manpages/Makefile.am
@@ -1,20 +1,9 @@
 include $(top_srcdir)/Makefile.decl
 
-if HAVE_TRACKER_SEARCH_BAR
 tsb = tracker-search-bar.1
-endif
-
-if HAVE_TRACKER_PREFERENCES
 tp = tracker-preferences.1
-endif
-
-if HAVE_TRACKER_NEEDLE
 tn = tracker-needle.1
-endif
-
-if HAVE_TRACKER_MINER_RSS
 tmrss = tracker-miner-rss.1
-endif
 
 common = \
 	tracker-extract.1 \
@@ -28,18 +17,29 @@ common = \
 	tracker-store.1 \
 	tracker-tag.1
 
-# Install only common and enabled manpages
-man_MANS = \
-	$(common) \
-	$(tmrss) \
-	$(tsb) \
-	$(tn) \
-	$(ta) \
-	$(tp)
+# Require only common and enabled manpages
+man_MANS = $(common)
+
+if HAVE_TRACKER_PREFERENCES
+man_MANS += $(tp)
+endif
+
+if HAVE_TRACKER_NEEDLE
+man_MANS += $(tn)
+endif
+
+if HAVE_TRACKER_SEARCH_BAR
+man_MANS += $(tsb)
+endif
+
+if HAVE_TRACKER_MINER_RSS
+man_MANS += $(tmrss)
+endif
 
 # Make sure even disabled manpages get distributed
 EXTRA_DIST = \
 	$(common) \
-	tracker-search-bar.1 \
-	tracker-preferences.1 \
-	tracker-needle.1
+	$(tp) \
+	$(tn) \
+	$(tsb) \
+	$(tmrss)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]