2 # Made with the aid of debmake, by Christoph Lameter,
3 # based on the sample debian/rules file for GNU hello by Ian Jackson.
9 CFLAGS="-O6 -Wall" ./configure --prefix=/usr --enable-xferlog --enable-ascii --enable-fork --enable-upload --enable-dcache --enable-message --enable-shadow --with-linux-sendfile
10 $(MAKE) CFLAGS="-O6 -Wall"
17 -rm -f `find . -name "*~"`
18 -rm -rf debian/tmp debian/files* core debian/substvars
20 binary-indep: checkroot build
22 # For some reason, this is never triggered... the document installation
23 # is this in binary-arch instead.
25 binary-arch: checkroot build
29 cd debian/tmp && install -d `cat ../dirs`
30 $(MAKE) install prefix=`pwd`/debian/tmp/usr
31 -cp doc/* `pwd`/debian/tmp/usr/share/doc/betaftpd/
32 # Must have debmake installed for this to work. Otherwise please copy
33 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd
36 chown -R root.root debian/tmp
37 chmod -R go=rX debian/tmp
38 dpkg --build debian/tmp ..
44 binary: binary-indep binary-arch
48 test root = "`whoami`"
50 .PHONY: binary binary-indep binary-arch clean checkroot