File: rules

package info (click to toggle)
tworld 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,648 kB
  • sloc: ansic: 13,347; cpp: 3,175; perl: 2,465; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 385 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
BUILD_DATE := $(shell dpkg-parsechangelog | sed -n -e 's/^Date: //p')

%:
	dh $@

override_dh_auto_build:
	echo \#define COMPILE_TIME \"$(BUILD_DATE)\" > comptime.h
	dh_auto_build -- SKIP_AUTOGEN=ON

execute_after_dh_auto_install:
	pod2man -s 6 -r 'Tile World' -c '' debian/c4 \
		debian/tmp/usr/share/man/man6/c4.6