#!/usr/bin/make -f

%:
	dh $@ --with autoreconf



#XXX# 
#XXX# #!/usr/bin/make -f
#XXX# # -*- makefile -*-
#XXX# # Sample debian/rules that uses debhelper.
#XXX# # This file was originally written by Joey Hess and Craig Small.
#XXX# # As a special exception, when this file is copied by dh-make into a
#XXX# # dh-make output file, you may use that output file without restriction.
#XXX# # This special exception was added by Craig Small in version 0.37 of dh-make.
#XXX# 
#XXX# # Uncomment this to turn on verbose mode.
#XXX# #export DH_VERBOSE=1
#XXX# 
#XXX# 
#XXX# # These are used for cross-compiling and for saving the configure script
#XXX# # from having to guess our platform (since we know it already)
#XXX# DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
#XXX# DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
#XXX# ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
#XXX# CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
#XXX# else
#XXX# CROSS= --build $(DEB_BUILD_GNU_TYPE)
#XXX# endif
#XXX# 
#XXX# export LD_LIBRARY_PATH := $(LD_LIBRARY_PATH):$(CURDIR)/debian/tmp/usr/lib
#XXX# 
#XXX# 
#XXX# # shared library versions, option 1
#XXX# version=0.0.0
#XXX# major=0
#XXX# # option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
#XXX# #version=`ls src/.libs/lib*.so.* | \
#XXX# # awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
#XXX# #major=`ls src/.libs/lib*.so.* | \
#XXX# # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
#XXX# 
#XXX# config.status: configure
#XXX# 	dh_testdir
#XXX# 	# Add here commands to configure the package.
#XXX# ifneq "$(wildcard /usr/share/misc/config.sub)" ""
#XXX# 	cp -f /usr/share/misc/config.sub config.sub
#XXX# endif
#XXX# ifneq "$(wildcard /usr/share/misc/config.guess)" ""
#XXX# 	cp -f /usr/share/misc/config.guess config.guess
#XXX# endif
#XXX# 	./configure $(CROSS) --prefix=/usr --enable-sqlite \
#XXX# 		--mandir=\$${prefix}/share/man \
#XXX# 		--infodir=\$${prefix}/share/info \
#XXX# 		CFLAGS="$(CFLAGS)" \
#XXX# 		LDFLAGS="-Wl,-z,defs -L\$${prefix}/lib -lsqlite3 -lpthread"
#XXX# 
#XXX# 
#XXX# build: build-stamp
#XXX# build-stamp:  config.status 
#XXX# 	dh_testdir
#XXX# 
#XXX# 	# Add here commands to compile the package.
#XXX# 	$(MAKE) LIBS=""
#XXX# 
#XXX# 	touch $@
#XXX# 
#XXX# clean: 
#XXX# 	dh_testdir
#XXX# 	dh_testroot
#XXX# 	rm -f build-stamp 
#XXX# 
#XXX# 	# Add here commands to clean up after the build process.
#XXX# 	[ ! -f Makefile ] || $(MAKE) distclean
#XXX# 	rm -f config.sub config.guess
#XXX# 
#XXX# 	dh_clean 
#XXX# 
#XXX# install: build
#XXX# 	dh_testdir
#XXX# 	dh_testroot
#XXX# 	dh_prep  
#XXX# 	dh_installdirs
#XXX# 
#XXX# 	# Add here commands to install the package into debian/tmp
#XXX# 	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
#XXX# 
#XXX# 
#XXX# # Build architecture-independent files here.
#XXX# binary-indep: install
#XXX# # We have nothing to do by default.
#XXX# 
#XXX# # Build architecture-dependent files here.
#XXX# binary-arch: install
#XXX# 	dh_testdir
#XXX# 	dh_testroot
#XXX# 	dh_installchangelogs ChangeLog
#XXX# 	dh_installdocs
#XXX# 	dh_installexamples
#XXX# 	dh_install
#XXX# #	dh_installmenu
#XXX# 	dh_installdebconf
#XXX# #	dh_installlogrotate
#XXX# #	dh_installemacsen
#XXX# #	dh_installpam
#XXX# #	dh_installmime
#XXX# #	dh_installinit
#XXX# #	dh_installcron
#XXX# #	dh_installinfo
#XXX# 	dh_installman debian/raddebug.1 debian/radmrouted.1
#XXX# 	dh_link
#XXX# 	dh_strip
#XXX# 	dh_compress
#XXX# 	dh_fixperms
#XXX# #	dh_perl
#XXX# #	dh_python
#XXX# 	dh_makeshlibs
#XXX# 	dh_installdeb
#XXX# 	dh_shlibdeps -- --ignore-missing-info debian/tmp/usr/bin/* debian/tmp/usr/sbin/* debian/tmp/usr/lib/*
#XXX# 	dh_gencontrol
#XXX# 	dh_md5sums
#XXX# 	dh_builddeb
#XXX# 
#XXX# binary: binary-indep binary-arch
#XXX# #XXX# #XXX# #XXX# .PHONY: build clean binary-indep binary-arch binary install 
