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.
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 $(MAKE) -C $(SOURCEPATH) proto
31 -$(MAKE) -C $(SOURCEPATH) pch
32 $(MAKE) -C $(SOURCEPATH) all
39 -$(MAKE) -C $(SOURCEPATH) clean
41 binary-indep: build install
44 dh_install -i --sourcedir=debian/tmp
46 dh_installchangelogs -i
54 # There are no architecture-independent files to be uploaded
55 # generated by this package. If there were any they would be
61 $(MAKE) -C $(SOURCEPATH) install DESTDIR=$(CURDIR)/debian/tmp
62 cp debian/smb.conf $(CURDIR)/debian/tmp/etc/samba4
64 binary-arch: build install
67 dh_install -a --sourcedir=debian/tmp
81 binary: binary-indep binary-arch
83 .PHONY: binary binary-arch binary-indep clean