File: rules

package info (click to toggle)
libcgi-application-plugin-authentication-perl 0.25%2B~cs0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,560 kB
  • sloc: perl: 11,362; makefile: 29; javascript: 6
file content (42 lines) | stat: -rwxr-xr-x 1,357 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
35
36
37
38
39
40
41
42
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_clean:
	for COMPONENT in driver-cdbi driver-dbic; do \
		dh_auto_clean --sourcedirectory=$(CURDIR)/$${COMPONENT}; \
	done
	dh_auto_clean --sourcedirectory=$(CURDIR)

	# we want to use the system version of included modules, so
	# we move local/ away and move it back afterwards
	[ ! -d $(CURDIR)/local.save ] || mv $(CURDIR)/local.save $(CURDIR)/local

override_dh_auto_configure:
	# we want to use the system version of included modules, so
	# we move local/ away and move it back afterwards
	[ ! -d $(CURDIR)/local ] || mv $(CURDIR)/local $(CURDIR)/local.save

	for COMPONENT in driver-cdbi driver-dbic; do \
		dh_auto_configure --sourcedirectory=$(CURDIR)/$${COMPONENT}; \
	done
	dh_auto_configure --sourcedirectory=$(CURDIR)

override_dh_auto_build:
	for COMPONENT in driver-cdbi driver-dbic; do \
		dh_auto_build --sourcedirectory=$(CURDIR)/$${COMPONENT}; \
	done
	dh_auto_build --sourcedirectory=$(CURDIR)

override_dh_auto_test:
	for COMPONENT in driver-cdbi driver-dbic; do \
		PERL5LIB=$(CURDIR)/blib/lib dh_auto_test --sourcedirectory=$(CURDIR)/$${COMPONENT}; \
	done
	dh_auto_test --sourcedirectory=$(CURDIR)

override_dh_auto_install:
	for COMPONENT in driver-cdbi driver-dbic; do \
		dh_auto_install --sourcedirectory=$(CURDIR)/$${COMPONENT}; \
	done
	dh_auto_install --sourcedirectory=$(CURDIR)