summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-03 11:21:45 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-10-03 11:21:45 +0200
commit276a73c1e1804dd507a006b7666e8984c8a74727 (patch)
tree380ed5c3660d65c7e29213c517a3f206cd444945 /configure.ac
parentd96d03ac529a80c5d630e753cfc645f598de587c (diff)
debian: generate packing files from configure.
Use configure script substitution capabilities to handle Debian packaging files, hence removing custom replacement functions at make dist time. This also makes it possible to automatically generate the correct library major version in package names. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3edb109..287fd6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,9 @@ AM_INIT_AUTOMAKE([dist-bzip2])
AM_CONFIG_HEADER([config.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+TODAY="`LC_ALL=C date +'%a, %d %b %Y %X %z'`"
+AC_SUBST(TODAY)
+
VA_API_MAJOR_VERSION=va_api_major_version
VA_API_MINOR_VERSION=va_api_minor_version
VA_API_MICRO_VERSION=va_api_micro_version
@@ -281,6 +284,10 @@ fi
AC_OUTPUT([
Makefile
debian.upstream/Makefile
+ debian.upstream/changelog
+ debian.upstream/control
+ debian.upstream/libva$LIBVA_MAJOR_VERSION.install:\
+debian.upstream/libva.install.in
doc/Makefile
dummy_drv_video/Makefile
pkgconfig/Makefile