summaryrefslogtreecommitdiff
path: root/debian.upstream/Makefile.am
blob: 9ef70b6361fb339e264f365383fdc5e168b72e53 (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
DEBIANFILES = \
	changelog.in				\
	compat					\
	control.in				\
	copyright				\
	libva-intel-driver.install		\
	rules					\
	$(NULL)

DEBIANGENFILES =				\
	changelog				\
	control					\
	$(NULL)

EXTRA_DIST = $(DEBIANFILES)

dist_noinst_DATA = $(DEBIANGENFILES)

# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = Makefile.in $(DEBIANGENFILES)

$(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)|' \
	  $< > $@