summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-02-05 16:09:05 +0000
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-02-05 16:09:05 +0000
commit7b19c83c1d6f062fc9340e741460deb5d90241b9 (patch)
treea7cdc1349bc44e0eef240c979e61175faa062dd6
parent521643758ab7f735b635ecf28513e0924bf9d243 (diff)
Autogenerate package changelog file (for package version). See NEWS file for further history.
-rw-r--r--Makefile.am7
-rw-r--r--debian/changelog.in5
2 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b2f9c7f..d80c25e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,6 +10,10 @@ DEBIANFILES = \
debian/rules \
debian/vdpau-video.install
+DEBIANGENFILES = \
+ debian/control \
+ debian/changelog
+
EXTRA_DIST = \
$(DEBIANFILES)
@@ -25,8 +29,9 @@ deb: dist
tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz && \
cd $(PACKAGE)-$(VERSION) && dpkg-buildpackage -rfakeroot -uc -us
-debian/control: debian/control.in
+$(DEBIANGENFILES): debian/%: debian/%.in Makefile
-sed \
+ -e 's|\@PACKAGE_VERSION\@|$(PACKAGE_VERSION)|' \
-e 's|\@LIBVA_API_VERSION\@|$(LIBVA_API_VERSION)|' \
-e 's|\@LIBVA_SDS_PACKAGE_VERSION\@|$(LIBVA_SDS_PACKAGE_VERSION)|' \
$< > $@
diff --git a/debian/changelog.in b/debian/changelog.in
new file mode 100644
index 0000000..927350a
--- /dev/null
+++ b/debian/changelog.in
@@ -0,0 +1,5 @@
+vdpau-video (@PACKAGE_VERSION@-1) unstable; urgency=low
+
+ * Autogenerated package, see NEWS file for ChangeLog.
+
+ -- Gwenole Beauchesne <gb@ramanujan.splitted-desktop.com> Wed, 28 Jan 2009 14:18:58 +0100