File: rules

package info (click to toggle)
libmodule-info-perl 0.39-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 296 kB
  • sloc: perl: 2,202; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@

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

override_dh_auto_configure:
	[ ! -d $(CURDIR)/t/lib/Test ] || mv $(CURDIR)/t/lib/Test $(CURDIR)/t/lib/Test.save
	dh_auto_configure