Fix make distclean.

This commit is contained in:
gb 2010-03-29 14:42:57 +00:00
parent 7c7a772824
commit c7ab525a97

View file

@ -6,6 +6,14 @@ endif
pcfiles = $(pcfiles_in:%.pc.in=%-@GST_MAJORMINOR@.pc) pcfiles = $(pcfiles_in:%.pc.in=%-@GST_MAJORMINOR@.pc)
all_pcfiles_in = gstreamer-vaapi.pc.in
all_pcfiles_in += gstreamer-vaapi-x11.pc.in
if USE_GLX
all_pcfiles_in += gstreamer-vaapi-glx.pc.in
endif
all_pcfiles = $(all_pcfiles_in:%.pc.in=%-@GST_MAJORMINOR@.pc)
pkgconfigdir = @pkgconfigdir@ pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = $(pcfiles) pkgconfig_DATA = $(pcfiles)
@ -15,7 +23,7 @@ EXTRA_DIST = \
gstreamer-vaapi-x11.pc.in \ gstreamer-vaapi-x11.pc.in \
$(NULL) $(NULL)
DISTCLEANFILES = $(pcfiles) DISTCLEANFILES = $(all_pcfiles)
# Extra clean files so that maintainer-clean removes *everything* # Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = Makefile.in MAINTAINERCLEANFILES = Makefile.in