File: rules

package info (click to toggle)
geoipupdate 2.3.1-1
  • links: PTS, VCS
  • area: contrib
  • in suites: stretch
  • size: 1,564 kB
  • ctags: 349
  • sloc: sh: 4,138; ansic: 1,422; perl: 172; makefile: 60
file content (16 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	# workaround upstream's use of datadir for application state data (and
	# not read-only as the FHS specifies). datadir in Debian is /usr/share
	# by default; use /var/lib instead, thus setting the default path to
	# /var/lib/GeoIP
	dh_auto_configure -- --datadir=/var/lib

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/geoipupdate/etc
	rm -f debian/geoipupdate/usr/share/doc/geoipupdate/*