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