[SCM] x264/master: Simplify manpage regeneration.

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Sun Jan 8 12:42:08 UTC 2012


The following commit has been merged in the master branch:
commit a3bc72ccbe9bd838c8bfeb156d3e8ec606a703a7
Author: Fabian Greffrath <fabian at greffrath.com>
Date:   Sun Jan 8 13:36:45 2012 +0100

    Simplify manpage regeneration.

diff --git a/debian/rules b/debian/rules
index c458a83..c1fd281 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,14 +59,10 @@ ifeq ($(do_opt),yes)
 	cp -a debian/install/opt$(opt_libdir)/*.so.* debian/$(libx264N)$(opt_libdir)
 endif
 
-override_dh_installman:
-	test -f debian/x264.1 || debian/rules debian/x264.1
+override_dh_installman: debian/x264.1
 	dh_installman
 
-debian/x264.1: debian/install/shared/usr/bin/x264
+debian/x264.1: build
 	env LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(CURDIR)/debian/install/shared/usr/lib/$(DEB_HOST_MULTIARCH)" \
-	help2man -n"fast h264 encoder" -N -s1 -S "Videolan project" -h '--fullhelp' \
+	help2man -n "fast h264 encoder" -N -s1 -S "Videolan project" -h '--fullhelp' \
 		debian/install/shared/usr/bin/x264 > debian/x264.1
-
-debian/install/shared/usr/bin/x264:
-	debian/rules build

-- 
x264 packaging



More information about the pkg-multimedia-commits mailing list