Generate upstream packages through make deb.upstream.

This commit is contained in:
gb 2010-03-23 18:45:09 +00:00
parent 33d5cf8be2
commit b2986daed4
13 changed files with 26 additions and 19 deletions

View file

@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = debian gst-libs pkgconfig sys tests docs
SUBDIRS = debian.upstream gst-libs pkgconfig sys tests docs
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = \
@ -8,8 +8,15 @@ MAINTAINERCLEANFILES = \
configure depcomp install-sh ltmain.sh \
Makefile.in missing config.h.in gtk-doc.make
deb: dist
-mkdir -p debian-build
cd debian-build && \
DEB_BUILDDIR = debian.build
deb:
dpkg-buildpackage -rfakeroot -uc -us
deb.upstream: dist
-mkdir -p $(DEB_BUILDDIR)
cd $(DEB_BUILDDIR) && \
tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz && \
cd $(PACKAGE)-$(VERSION) && dpkg-buildpackage -rfakeroot -uc -us
cd $(PACKAGE)-$(VERSION) && \
$(LN_S) debian.upstream debian && \
$(MAKE) deb -f Makefile.am

View file

@ -190,19 +190,19 @@ AC_SUBST(pkgconfigdir)
AC_OUTPUT([
Makefile
debian/Makefile
debian/changelog
debian/control
debian/gstreamer$GST_MAJORMINOR-vaapi.install:\
debian/gstreamer-vaapi.install.in
debian/gstreamer$GST_MAJORMINOR-vaapi-doc.install:\
debian/gstreamer-vaapi-doc.install.in
debian/libgstvaapi$GST_VAAPI_MAJOR_VERSION.install:\
debian/libgstvaapi.install.in
debian/libgstvaapi$GST_VAAPI_MAJOR_VERSION-dev.install:\
debian/libgstvaapi-dev.install.in
debian/libgstvaapi-x11-$GST_VAAPI_MAJOR_VERSION.install:\
debian/libgstvaapi-x11.install.in
debian.upstream/Makefile
debian.upstream/changelog
debian.upstream/control
debian.upstream/gstreamer$GST_MAJORMINOR-vaapi.install:\
debian.upstream/gstreamer-vaapi.install.in
debian.upstream/gstreamer$GST_MAJORMINOR-vaapi-doc.install:\
debian.upstream/gstreamer-vaapi-doc.install.in
debian.upstream/libgstvaapi$GST_VAAPI_MAJOR_VERSION.install:\
debian.upstream/libgstvaapi.install.in
debian.upstream/libgstvaapi$GST_VAAPI_MAJOR_VERSION-dev.install:\
debian.upstream/libgstvaapi-dev.install.in
debian.upstream/libgstvaapi-x11-$GST_VAAPI_MAJOR_VERSION.install:\
debian.upstream/libgstvaapi-x11.install.in
docs/Makefile
docs/reference/Makefile
docs/reference/libs/Makefile