[SCM] ffms2/master: Update documentation building

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Mon May 18 14:40:49 UTC 2015


The following commit has been merged in the master branch:
commit 1c0216de2945a955480e6dd84a2f05729936691e
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Mon May 18 16:15:41 2015 +0200

    Update documentation building
    
    HTML files were replaced with markdown upstream

diff --git a/debian/clean b/debian/clean
index 1b353d6..c306495 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1 +1 @@
-doc/changelog
+doc/ffms2-api.html
diff --git a/debian/control b/debian/control
index b222a73..537451a 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 9),
  libswscale-dev (>= 4:0.8~),
  libavresample-dev,
  zlib1g-dev,
- w3m
+ pandoc
 Section: libs
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-multimedia/ffms2.git;a=summary
diff --git a/debian/libffms2-dev.docs b/debian/libffms2-dev.docs
index f9b2c77..c306495 100644
--- a/debian/libffms2-dev.docs
+++ b/debian/libffms2-dev.docs
@@ -1,2 +1 @@
 doc/ffms2-api.html
-doc/style.css
diff --git a/debian/rules b/debian/rules
index 47e3caa..16d1d4c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,12 +5,12 @@ export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
 %:
 	dh $@ --parallel --with autoreconf
 
-override_dh_auto_build:
-	dh_auto_build -- V=1
-	w3m -dump doc/ffms2-changelog.html > doc/changelog
-
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-shared --disable-silent-rules
 
+override_dh_auto_build:
+	dh_auto_build
+	pandoc doc/ffms2-api.md -t html4 -s -o doc/ffms2-api.html
+
 override_dh_installchangelogs:
-	dh_installchangelogs doc/changelog
+	dh_installchangelogs doc/ffms2-changelog.md

-- 
ffms2 packaging



More information about the pkg-multimedia-commits mailing list