Userful gstreamer-vaapi
[vaapi:cpu-gstreamer-vaapi.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
2
3 AUTOMAKE_OPTIONS = foreign
4
5 RELEASE = $(shell git describe --tags --dirty | sed -e 's/-g\?/./g')
6
7 SUBDIRS = debian.upstream gst-libs gst pkgconfig tests docs ext
8
9 # Extra clean files so that maintainer-clean removes *everything*
10 MAINTAINERCLEANFILES = \
11         aclocal.m4 compile config.guess config.sub \
12         configure depcomp install-sh ltmain.sh     \
13         Makefile.in missing config.h.in gtk-doc.make
14
15 EXTRA_DIST=gstreamer-vaapi.spec release.stamp
16
17 DEB_BUILDDIR = debian.build
18
19 deb:
20         dpkg-buildpackage -rfakeroot -uc -us
21
22 deb.upstream: dist-bzip2
23         -mkdir -p $(DEB_BUILDDIR)
24         cd $(DEB_BUILDDIR)                              && \
25         rm -rf $(PACKAGE)-$(VERSION)                    && \
26         tar jxvf ../$(PACKAGE)-$(VERSION).tar.bz2       && \
27         cd $(PACKAGE)-$(VERSION)                        && \
28         $(LN_S) debian.upstream debian                  && \
29         $(MAKE) deb -f Makefile.am
30
31 release.stamp: Makefile.am
32         echo $(RELEASE) > $@
33
34 .PHONY: release.stamp