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.
10 configure
: configure-stamp
13 cd
$(SOURCEPATH
) && .
/autogen.sh
14 cd
$(SOURCEPATH
) && .
/configure
--with-fhs \
16 --mandir=/usr
/share
/man \
21 --with-configdir
=/etc
/samba \
22 --with-privatedir
=/etc
/samba \
23 --with-piddir
=/var
/run
/samba \
24 --localstatedir
=/var \
29 cd
$(SOURCEPATH
)/pidl
&& perl Makefile.PL verbose INSTALLDIRS
=vendor PREFIX
=/usr
33 build-stamp
: configure
35 $(MAKE
) -C
$(SOURCEPATH
) proto
36 -$(MAKE
) -C
$(SOURCEPATH
) pch
37 $(MAKE
) -C
$(SOURCEPATH
) all
38 $(MAKE
) -C
$(SOURCEPATH
)/pidl
all
46 -$(MAKE
) -C
$(SOURCEPATH
) clean
47 $(RM
) build-stamp configure-stamp
49 binary-indep
: build
install
52 dh_install
-i
--sourcedir
=debian
/tmp
54 dh_installchangelogs
-i
61 # There are no architecture-independent files to be uploaded
62 # generated by this package. If there were any they would be
68 mkdir
-p
$(CURDIR
)/debian
/tmp
/usr
/share
/man
/man1
69 mkdir
-p
$(CURDIR
)/debian
/tmp
/etc
/samba
70 $(MAKE
) -C
$(SOURCEPATH
) install DESTDIR
=$(CURDIR
)/debian
/tmp
71 $(MAKE
) -C
$(SOURCEPATH
) manpages installman DESTDIR
=$(CURDIR
)/debian
/tmp
72 cp
$(SOURCEPATH
)/setup
/provision
$(CURDIR
)/debian
/tmp
/usr
/lib
/samba
/setup
73 $(MAKE
) -C
$(SOURCEPATH
)/pidl
install DESTDIR
=$(CURDIR
)/debian
/tmp
75 binary-arch
: build
install
78 dh_install
-a
--sourcedir
=debian
/tmp
80 dh_installchangelogs
-a
86 dh_installinit
-a
--name
=samba
94 binary
: binary-arch binary-indep
96 .PHONY
: configure build
install binary binary-arch binary-indep
clean