[SCM] gmerlin/master: properly escape "-" in generated manpages

zmoelnig-guest at users.alioth.debian.org zmoelnig-guest at users.alioth.debian.org
Sun Jan 16 20:45:27 UTC 2011


The following commit has been merged in the master branch:
commit e9ddae64316ea292b1a549a9da1eee490f329ae8
Author: IOhannes m zmölnig <zmoelnig at umlaeute.mur.at>
Date:   Sun Jan 16 19:23:54 2011 +0100

    properly escape "-" in generated manpages

diff --git a/debian/rules b/debian/rules
index f954477..9530507 100755
--- a/debian/rules
+++ b/debian/rules
@@ -53,10 +53,10 @@ DEB_DH_MAKESHLIBS_ARGS_ALL := -- -v$(DEB_UPSTREAM_VERSION)
 DEB_DH_STRIP_ARGS := --dbg-package=gmerlin-dbg
 
 build/gmerlin::
-	./apps/thumbnailer/gmerlin-video-thumbnailer -help-man > gmerlin-video-thumbnailer.1
-	PATH=$(CURDIR)/apps/player/:$(PATH) ./apps/player/gmerlin_launcher -help-man > gmerlin_launcher.1
-	./tests/gmerlin_imgconvert -help-man > gmerlin_imgconvert.1
-	./tests/gmerlin_visualize -help-man > gmerlin_visualize.1	
+	./apps/thumbnailer/gmerlin-video-thumbnailer -help-man | sed -e 's/-/\\-/g' > gmerlin-video-thumbnailer.1
+	PATH=$(CURDIR)/apps/player/:$(PATH) ./apps/player/gmerlin_launcher -help-man | sed -e 's/-/\\-/g' > gmerlin_launcher.1
+	./tests/gmerlin_imgconvert -help-man | sed -e 's/-/\\-/g' > gmerlin_imgconvert.1
+	./tests/gmerlin_visualize -help-man | sed -e 's/-/\\-/g' > gmerlin_visualize.1	
 
 clean:: restorefiles
 	rm -f gmerlin_imgconvert.1 gmerlin_launcher.1 gmerlin-video-thumbnailer.1 gmerlin_visualize.1

-- 
gmerlin packaging



More information about the pkg-multimedia-commits mailing list