File: rules

package info (click to toggle)
xskat 4.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 932 kB
  • sloc: ansic: 18,852; makefile: 40; sh: 9
file content (23 lines) | stat: -rwxr-xr-x 565 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/buildtools.mk

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CC="$(CC)" CCOPTIONS="$(CFLAGS) $(CPPFLAGS)" EXTRA_LDOPTIONS="$(LDFLAGS)"

override_dh_auto_install:
	dh_installman xskat.man
	cp -a xskat.man xskat.man.tmp
	cp -a xskat-de.man xskat.man
	dh_installman --language=de xskat.man
	mv -f xskat.man.tmp xskat.man