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 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* # Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = \ MAINTAINERCLEANFILES = \
@ -8,8 +8,15 @@ MAINTAINERCLEANFILES = \
configure depcomp install-sh ltmain.sh \ configure depcomp install-sh ltmain.sh \
Makefile.in missing config.h.in gtk-doc.make Makefile.in missing config.h.in gtk-doc.make
deb: dist DEB_BUILDDIR = debian.build
-mkdir -p debian-build
cd debian-build && \ deb:
tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz && \ dpkg-buildpackage -rfakeroot -uc -us
cd $(PACKAGE)-$(VERSION) && dpkg-buildpackage -rfakeroot -uc -us
deb.upstream: dist
-mkdir -p $(DEB_BUILDDIR)
cd $(DEB_BUILDDIR) && \
tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz && \
cd $(PACKAGE)-$(VERSION) && \
$(LN_S) debian.upstream debian && \
$(MAKE) deb -f Makefile.am

View file

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