File: rules

package info (click to toggle)
sqitch 0.9999-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,488 kB
  • sloc: perl: 34,265; sql: 2,340; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 361 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# The tests require a home directory (mostly for the .conf file), so
# provide one.
BUILDHOME = $(CURDIR)/debian/build

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --etcdir=/etc/sqitch

override_dh_clean:
	dh_clean
	rm -rf $(BUILDHOME)

override_dh_auto_test:
	mkdir -p $(BUILDHOME)
	LC_ALL=C HOME=$(BUILDHOME) dh_auto_test