[gnome-power-manager/gnome-2-30] man: correctly call docbook2man



commit 6405e0cb021b8218d3b6edddab36ee5cb50a74aa
Author: Dominique Leuenberger <dominique leuenberger net>
Date:   Fri Jun 11 12:20:09 2010 +0200

    man: correctly call docbook2man
    
    Using the redirection had the side-effect that output of docbook2man is being added to the resulting man pages, resulting in some garbage in the manpages in plus.
    Redirect output of docbook2man to dev/null
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 man/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/man/Makefile.am b/man/Makefile.am
index b1c5980..ad2f2a0 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -12,13 +12,13 @@ endif
 
 if HAVE_DOCBOOK2MAN
 gnome-power-manager.1: gnome-power-manager.sgml
-	docbook2man $? > $@
+	docbook2man $? &> /dev/null
 
 gnome-power-preferences.1: gnome-power-preferences.sgml
-	docbook2man $? > $@
+	docbook2man $? &> /dev/null
 
 gnome-power-statistics.1: gnome-power-statistics.sgml
-	docbook2man $? > $@
+	docbook2man $? &> /dev/null
 endif
 
 clean-local :



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