"Fossies" - the Fresh Open Source Software Archive

Member "mod_fastcgi-2.4.7-0910052141/debian/rules" (10 Apr 2012, 1732 Bytes) of package /linux/www/apache_httpd_modules/old/mod_fastcgi-2.4.7-0910052141.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "rules": 2.4.6_vs_2.4.7-0910052141.

    1 #!/usr/bin/make -f
    2 
    3 include /usr/share/cdbs/1/rules/debhelper.mk
    4 include /usr/share/cdbs/1/class/langcore.mk
    5 include /usr/share/cdbs/1/class/makefile-vars.mk
    6 include /usr/share/cdbs/1/rules/dpatch.mk
    7 
    8 APACHE2_VERSION=`dpkg -s apache2-prefork-dev apache2-threaded-dev 2>/dev/null |grep Version: | awk '{print $$2}'`
    9 
   10 DEB_BUILDDIR = $(CURDIR)/build-tmp
   11 DEB_BUILDDIR_libapache2-mod-fastcgi = $(DEB_BUILDDIR)/20
   12 DEB_DESTDIR_libapache2-mod-fastcgi = $(CURDIR)/debian/libapache2-mod-fastcgi
   13 DEB_FIXPERMS_EXCLUDE = var/lib/apache2/fastcgi var/lib/apache/fastcgi
   14 
   15 AP2_MAKE_DEFS = top_dir=/usr/share/apache2 \
   16     APXS=apxs2 APACHECTL=apachectl2 \
   17     LIBTOOL="libtool --tag=CC" SH_LIBTOOL="libtool --tag=CC" \
   18     INCLUDES="-I/usr/include/apache2 `pkg-config --cflags apr-1`"
   19 
   20 configure/libapache2-mod-fastcgi::
   21     cp -a *.c *.h *.mk .deps $(DEB_BUILDDIR_$(cdbs_curpkg))
   22     cp -a Makefile.AP2 $(DEB_BUILDDIR_$(cdbs_curpkg))
   23 
   24 build/libapache2-mod-fastcgi::
   25     $(DEB_MAKE_INVOKE) -C $(DEB_BUILDDIR_$(cdbs_curpkg)) $(AP2_MAKE_DEFS) -f Makefile.AP2
   26 
   27 install/libapache2-mod-fastcgi::
   28     mkdir -p $(DEB_DESTDIR_$(cdbs_curpkg))/usr/lib/apache2/modules
   29     install -m 644 $(DEB_BUILDDIR_$(cdbs_curpkg))/.libs/mod_fastcgi.so \
   30       $(DEB_DESTDIR_$(cdbs_curpkg))/usr/lib/apache2/modules
   31     mkdir -p $(DEB_DESTDIR_$(cdbs_curpkg))/etc/apache2/mods-available
   32     install -m 644 debian/fastcgi.load \
   33       $(DEB_DESTDIR_$(cdbs_curpkg))/etc/apache2/mods-available
   34     install -m 644 debian/fastcgi.conf2 \
   35       $(DEB_DESTDIR_$(cdbs_curpkg))/etc/apache2/mods-available/fastcgi.conf
   36     mkdir -p $(DEB_DESTDIR_$(cdbs_curpkg))/var/lib/apache2/fastcgi
   37     chown www-data:www-data $(DEB_DESTDIR_$(cdbs_curpkg))/var/lib/apache2/fastcgi
   38     chmod 755 $(DEB_DESTDIR_$(cdbs_curpkg))/var/lib/apache2/fastcgi