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