~ubuntu-branches/ubuntu/intrepid/haproxy/intrepid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2008-03-09 21:30:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080309213029-8oupnrc607mg5uqw
Tags: 1.3.14.3-1
* New Upstream Version
* Add status argument support to init-script to conform to LSB.
* Cleanup pidfile after stop in init script. Init script return code fixups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
include /usr/share/cdbs/1/rules/debhelper.mk
4
4
include /usr/share/cdbs/1/class/makefile.mk
5
5
 
6
 
CFLAGS += -Iinclude
7
 
DEB_MAKE_BUILD_TARGET = TARGET=linux26 REGEX=pcre
 
6
CFLAGS += -Wall $(COPTS) $(DEBUG)
 
7
DEB_MAKE_INVOKE = $(MAKE) -C $(DEB_BUILDDIR) TARGET=linux26 USE_PCRE=1 IGNOREGIT=true
8
8
 
9
9
install/haproxy::
10
 
        mkdir -p debian/haproxy/etc
11
 
        cp debian/haproxy.cfg debian/haproxy/etc
 
10
        mkdir -p debian/haproxy/etc/haproxy
 
11
        cp -r examples/errorfiles debian/haproxy/etc/haproxy/errors
 
12
        rm debian/haproxy/etc/haproxy/errors/README
 
13
        cp debian/haproxy.cfg debian/haproxy/etc/haproxy
12
14
        mkdir -p debian/haproxy/usr/sbin
13
15
        cp haproxy debian/haproxy/usr/sbin
14
16