Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5361 serge 1
AUTOMAKE_OPTIONS = foreign
2
 
3
SUBDIRS = debian.upstream src
4
 
5
# Extra clean files so that maintainer-clean removes *everything*
6
MAINTAINERCLEANFILES = \
7
	aclocal.m4 compile config.guess config.sub \
8
	configure depcomp install-sh ltmain.sh     \
9
	Makefile.in missing
10
 
11
DEB_BUILDDIR = debian.build
12
 
13
deb:
14
	@[ -d debian ] || ln -s debian.upstream debian
15
	dpkg-buildpackage -rfakeroot -uc -us
16
 
17
deb.upstream: dist
18
	-mkdir -p $(DEB_BUILDDIR)
19
	cd $(DEB_BUILDDIR)				&& \
20
	rm -rf $(PACKAGE)-$(VERSION)			&& \
21
	tar zxvf ../$(PACKAGE)-$(VERSION).tar.gz	&& \
22
	cd $(PACKAGE)-$(VERSION)			&& \
23
	$(MAKE) deb -f Makefile.am