summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 7b35b5828c0b8c8e76faaf14fb65c0638bedd4a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AUTOMAKE_OPTIONS = foreign

SUBDIRS = debian.upstream gst-libs gst pkgconfig tests docs

# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = \
	aclocal.m4 compile config.guess config.sub \
	configure depcomp install-sh ltmain.sh     \
	Makefile.in missing config.h.in gtk-doc.make

DEB_BUILDDIR = debian.build

deb:
	dpkg-buildpackage -rfakeroot -uc -us

deb.upstream: dist
	-mkdir -p $(DEB_BUILDDIR)
	cd $(DEB_BUILDDIR)				&& \
	rm -rf $(PACKAGE)-$(VERSION)			&& \
	tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz	&& \
	cd $(PACKAGE)-$(VERSION)			&& \
	$(LN_S) debian.upstream debian			&& \
	$(MAKE) deb -f Makefile.am