2 # By Jelmer Vernooij <jelmer@samba.org>
3 # Made with the aid of debmake, by Christoph Lameter,
4 # based on the sample debian/rules file for GNU hello by Ian Jackson.
6 SOURCEPATH=../../source
12 cd $(SOURCEPATH) && ./autogen.sh
13 cd $(SOURCEPATH) && ./configure --with-fhs \
18 --libdir=/etc/samba4 \
19 --with-privatedir=/etc/samba4 \
20 --with-piddir=/var/run/samba4 \
21 --localstatedir=/var \
30 cd $(SOURCEPATH) && $(MAKE) proto all
37 -cd $(SOURCEPATH) && $(MAKE) clean
39 binary-indep: build install
43 dh_installchangelogs -i
51 # There are no architecture-independent files to be uploaded
52 # generated by this package. If there were any they would be
58 $(MAKE) -C $(SOURCEPATH) install DESTDIR=`pwd`/../packaging/debian/tmp
60 binary-arch: build install
76 binary: binary-indep binary-arch
78 .PHONY: binary binary-arch binary-indep clean