File: rules

package info (click to toggle)
redland-bindings 1.0.17.1%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,044 kB
  • sloc: ansic: 39,669; sh: 11,176; javascript: 6,645; ruby: 2,378; python: 2,310; perl: 2,171; makefile: 411; php: 61
file content (34 lines) | stat: -rwxr-xr-x 735 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
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/make -f

#export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export PERL := perl
export RUBY := ruby

PERL_ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')

%:
	dh $@ --with ruby

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-release \
		--without-python \
		--with-perl-makemaker-args="INSTALLDIRS=vendor" \

override_dh_auto_build:
	dh_auto_build -Dperl
	dh_auto_build -Druby

override_dh_auto_clean:
	dh_auto_clean -Dperl
	dh_auto_clean -Druby
	dh_auto_clean

override_dh_auto_install:
	dh_auto_install -Dperl
	mkdir -p $(CURDIR)/debian/tmp/usr/share/perl5
	mv $(CURDIR)/debian/tmp$(PERL_ARCHLIB)/RDF $(CURDIR)/debian/tmp/usr/share/perl5/RDF

	dh_auto_install -Druby