3 # Made with the aid of debmake, by Christoph Lameter,
4 # based on the sample debian/rules file for GNU hello by Ian Jackson.
14 cd
$(SOURCEPATH
) && .
/autogen.sh
15 cd
$(SOURCEPATH
) && .
/configure
--with-fhs \
20 --libdir=/etc
/samba4 \
21 --with-privatedir
=/etc
/samba4 \
22 --with-piddir
=/var
/run
/samba4 \
23 --localstatedir
=/var \
28 cd
$(DOCSPATH
) && autoreconf
29 cd
$(DOCSPATH
) && .
/configure
34 cd
$(SOURCEPATH
) && $(MAKE
) proto
all
35 cd
$(DOCSPATH
) && $(MAKE
) htmlman manpages
41 -cd
$(SOURCEPATH
) && $(MAKE
) clean
42 -cd
$(DOCSPATH
) && $(MAKE
) clean
43 rm -f
`find . -name "*~"`
44 rm -rf debian
/tmp
`find debian/* -type d ! -name CVS` debian
/files
* core
45 rm -f debian
/*substvars
47 binary-indep
: checkroot build
49 # There are no architecture-independent files to be uploaded
50 # generated by this package. If there were any they would be
53 binary-arch
: checkroot build
55 rm -rf debian
/tmp
`find debian/* -type d ! -name CVS`
57 cd debian
/tmp
&& install -d
`cat ../dirs`
58 cd
$(SOURCEPATH
) && $(MAKE
) install DESTDIR
=`pwd`/..
/packaging
/debian
/tmp
59 mkdir
-p debian
/tmp
/usr
/share
/man
/man1
60 mkdir
-p debian
/tmp
/usr
/share
/man
/man7
61 cp
$(DOCSPATH
)/output
/manpages
/*.1 debian
/tmp
/usr
/share
/man
/man1
62 cp
$(DOCSPATH
)/output
/manpages
/*.7 debian
/tmp
/usr
/share
/man
/man7
63 cp
$(SOURCEPATH
)/build
/pidl
/pidl.pl debian
/tmp
/usr
/bin
/pidl
65 dpkg-gencontrol
-isp
-psamba4
66 chown
-R root
:root debian
/tmp
67 chmod
-R go
=rX debian
/tmp
68 dpkg
--build debian
/tmp ..
74 binary
: binary-indep binary-arch
78 test root
= "`whoami`"
80 .PHONY
: binary binary-arch binary-indep
clean checkroot