blob: 04a848f0d5751773cc32fb134ce484857c0ac8a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
DEBIANFILES = \
changelog.in \
compat \
control.in \
copyright \
libva-intel-driver.install \
rules \
$(NULL)
DEBIANGENFILES = \
changelog \
control \
$(NULL)
EXTRA_DIST = $(DEBIANFILES)
dist_noinst_DATA = $(DEBIANGENFILES)
DISTCLEANFILES = $(DEBIANGENFILES)
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = Makefile.in
$(DEBIANGENFILES): %: %.in Makefile
-$(AM_V_GEN)sed \
-e 's|\@DATE\@|'"`LC_ALL=C date +'%a, %d %b %Y %X %z'`"'|' \
-e 's|\@LIBDRM_VERSION\@|$(LIBDRM_VERSION)|' \
-e 's|\@LIBVA_PACKAGE_VERSION\@|$(LIBVA_PACKAGE_VERSION)|' \
-e 's|\@PACKAGE_VERSION\@|$(PACKAGE_VERSION)|' \
$< > $@
|