3 # Copyright 2002-2005 Matthew Palmer <mpalmer@debian.org>
4 # Copyright 2008 Joey Schulze <joey@infodrom.org>
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; version 2 dated June, 1991.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
20 APACHE2=$(CURDIR)/debian/tmp
22 include /usr/share/dpatch/dpatch.make
24 configure: patch configure-stamp
27 ./configure --disable-apache13 --enable-apache2
34 test ! -f Makefile || $(MAKE) distclean
35 rm -f config.status config.log config.h
36 rm -f configure-stamp build-stamp
41 build-stamp: configure
51 install -m 644 apache2_mod_auth_mysql.so $(APACHE2)/usr/lib/apache2/modules/mod_auth_mysql.so
52 install -m 644 auth_mysql.load $(APACHE2)/etc/apache2/mods-available
54 binary: binary-arch binary-indep
60 dh_installchangelogs -A
69 .PHONY: build build-arch build-indep clean binary-indep binary-arch binary install