Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

64 lines (47 sloc) 1.25 kb
PACKAGE_NAME=@PACKAGE_NAME@
PACKAGE_VERSION=@PACKAGE_VERSION@
APXS=@APXS@
APACHECTL=@APACHECTL@
PERL=@PERL@
PROVE=@PROVE@
TESTS=t
builddir=.
installbuilddir=@AP_INSTALLBUILDDIR@
top_srcdir=@AP_TOP_SRCDIR@
top_builddir=@AP_TOP_BUILDDIR@
include @AP_INSTALLBUILDDIR@/special.mk
DEFS=@DEBUG_DEFS@ -DMOD_PSGI_VERSION=\"$(PACKAGE_VERSION)\"
EXTRA_CFLAGS+=@EXTRA_CFLAGS@
INCLUDES=@PERL_CCOPTS@
LDFLAGS=@PERL_LDOPTS@
all: local-shared-build
install: install-modules-yes
clean:
rm -f mod_psgi.o mod_psgi.lo mod_psgi.slo mod_psgi.la
maintainer-clean:
git clean -fdx
configure: configure.ac
autoconf
mod_psgi.c: ppport.h
ppport.h:
$(PERL) -MDevel::PPPort -e 'Devel::PPPort::WriteFile'
test: .libs/mod_psgi.so
$(PROVE) $(TESTS)
reload: install restart
start:
$(APACHECTL) start
restart:
$(APACHECTL) restart
stop:
$(APACHECTL) stop
DIST_DIR=$(PACKAGE_NAME)-$(PACKAGE_VERSION)
DIST_FILE=$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar
dist: ppport.h configure
rm -f $(DIST_FILE)
git archive --format=tar --prefix=$(DIST_DIR)/ HEAD > $(DIST_FILE)
mkdir $(DIST_DIR)
cp ppport.h configure $(DIST_DIR)
tar rf $(DIST_FILE) $(DIST_DIR)/ppport.h $(DIST_DIR)/configure
rm -fr $(DIST_DIR)
gzip --best $(DIST_FILE)
.PHONY: test maintainer-clean dist
Jump to Line
Something went wrong with that request. Please try again.