summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Ramacher <sramacher@debian.org>2015-05-18 14:15:41 (GMT)
committerSebastian Ramacher <sramacher@debian.org>2015-05-18 14:15:41 (GMT)
commit1c0216de2945a955480e6dd84a2f05729936691e (patch)
treee1eefdec698432c059d5d291e4313c4d802dd881
parentab7bd6af6cde942a5e0030f54b74a18638b006e3 (diff)
Update documentation building
HTML files were replaced with markdown upstream
-rw-r--r--debian/clean2
-rw-r--r--debian/control2
-rw-r--r--debian/libffms2-dev.docs1
-rwxr-xr-xdebian/rules10
4 files changed, 7 insertions, 8 deletions
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