2
## ----------------------------------------------------------------------
3
## debian/rules : package script for libdbix-xml-rdb-perl
4
## ----------------------------------------------------------------------
6
## ----------------------------------------------------------------------
7
## uncomment this to turn on verbose mode
3
# Uncomment this to turn on verbose mode.
10
## ----------------------------------------------------------------------
13
## ----------------------------------------------------------------------
19
[ ! -f Makefile ] || $(MAKE) realclean
21
rm -f build-stamp install-stamp
26
perl Makefile.PL INSTALLDIRS=vendor
27
$(MAKE) OPTIMIZE="-O2 -g -Wall"
31
install: install-stamp
37
$(MAKE) install PREFIX=$(CURDIR)/$(TMP_DIR)/usr
40
binary-indep: build install
43
dh_install --sourcedir=$(TMP_DIR)
46
dh_installchangelogs Changes
57
binary: binary-indep binary-arch
59
.PHONY: clean build install binary-indep binary-arch binary
61
## ----------------------------------------------------------------------
6
TMP = $(CURDIR)/debian/libdbix-xml-rdb-perl
11
override_dh_auto_install:
13
# Remove examples from other locations
14
$(RM) -rvf $(TMP)/usr/share/perl5/DBIx/*.pl $(TMP)/usr/bin