File: rules

package info (click to toggle)
pgpool 3.1.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 784 kB
  • ctags: 465
  • sloc: ansic: 6,123; sh: 845; lex: 669; makefile: 29
file content (20 lines) | stat: -rwxr-xr-x 525 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_CONFIGURE_EXTRA_FLAGS = --bindir=/usr/sbin
DEB_INSTALL_DOCS_ALL =
DEB_UPDATE_RCD_PARAMS = defaults 21 19

build/pgpool::
	cp -f NEWS changelog.euc_jp

clean::
	rm -f changelog.euc_jp

install/pgpool::
	sed -e '2s/ sample$$//' -e '3c\' -e '#' \
	  $(DEB_DESTDIR)/etc/pgpool.conf.sample >$(DEB_DESTDIR)/etc/pgpool.conf
	rm $(DEB_DESTDIR)/etc/pgpool.conf.sample