rinetd/debian/rules

58 lines
1.1 KiB
Plaintext
Raw Normal View History

2008-03-30 12:59:52 +02:00
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DESTDIR=debian/rinetd
build: build-stamp
build-stamp:
dh_testdir
touch configure.ac
touch configure
touch config.h.in
touch stamp-h.in
touch `find . -name Makefile.in`
sh ./configure --prefix=/usr --sysconfdir=/etc --mandir='/usr/share/man'
$(MAKE)
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
-$(MAKE) distclean
rm -f config.cache *.o config.status config.log config.h
dh_clean
# Build architecture-independent files here.
binary-indep: build
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build
dh_testdir
dh_testroot
dh_clean
dh_installdirs
$(MAKE) DESTDIR=$(DESTDIR) install
dh_installppp
dh_installdocs README index.html
dh_installinit
dh_installlogrotate
dh_installmanpages
dh_installchangelogs CHANGES
dh_installcron
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary