File: rules

package info (click to toggle)
libdbd-xbase-perl 1%3A1.08-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 992 kB
  • ctags: 506
  • sloc: perl: 7,060; makefile: 14
file content (21 lines) | stat: -rwxr-xr-x 701 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_build:
	dh_auto_build
	pod2text driver_characteristics > debian/driver_characteristics

override_dh_auto_install:
	dh_auto_install
	# Renaming dbfdump and indexdump to dbf_dump and index_dump to avoid
	# filename clashes with shapelib (see bug #274792)
	mv $(TMP)/usr/bin/dbfdump $(TMP)/usr/bin/dbf_dump
	mv $(TMP)/usr/bin/indexdump $(TMP)/usr/bin/index_dump
	mv $(TMP)/usr/share/man/man1/dbfdump.1p $(TMP)/usr/share/man/man1/dbf_dump.1p
	mv $(TMP)/usr/share/man/man1/indexdump.1p $(TMP)/usr/share/man/man1/index_dump.1p
	sed -i -e 's/DUMP/_DUMP/' $(TMP)/usr/share/man/man1/*.1p