File: rules

package info (click to toggle)
dhelp 0.6.21%2Bnmu6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 548 kB
  • ctags: 202
  • sloc: ruby: 1,173; sh: 507; perl: 372; makefile: 80
file content (23 lines) | stat: -rwxr-xr-x 838 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
#
# Invoke each target with `./debian/rules <target>'.  All targets should be
# invoked with the package root as the current directory.

# Set VENDOR_RUBY to 'yes' to use the new ruby packaging policy for wheezy
# and onwards. Set to 'no' if you are back-porting the package.

DEB_MAKE_ENVVARS := VENDOR_RUBY="yes" 
#DEB_MAKE_ENVVARS := VENDOR_RUBY="no"

DEB_MAKE_INSTALL_TARGET    = install DESTDIR=$(DEB_DESTDIR) PREFIX=/usr
DEB_INSTALL_MANPAGES_dhelp = man/dhelp*
DEB_INSTALL_EXAMPLES_dhelp = examples/*

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk

# Custom install of the maintainer scripts library.
install/dhelp::
	install --directory $(DEB_DESTDIR)/usr/share/dhelp/maint-scripts
	install --mode=644  debian/scripts/*.sh $(DEB_DESTDIR)/usr/share/dhelp/maint-scripts