File: rules

package info (click to toggle)
libdbd-sqlite2-perl 2%3A0.37-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,692 kB
  • ctags: 2,312
  • sloc: ansic: 27,895; perl: 1,730; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

PACKAGE := $(shell dh_listpackages)
TMP     := $(CURDIR)/debian/$(PACKAGE)

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

%:
	dh $@ --with perl_dbi

override_dh_auto_install:
	dh_auto_install
	[ ! -f $(TMP)/$(ARCHLIB)/DBD/getsqlite.pl ] || $(RM) -v $(TMP)/$(ARCHLIB)/DBD/getsqlite.pl

override_dh_auto_clean:
	dh_auto_clean
	rm -rf output/