File: rules

package info (click to toggle)
xskat 4.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 944 kB
  • ctags: 1,265
  • sloc: ansic: 18,852; makefile: 39; sh: 9
file content (22 lines) | stat: -rwxr-xr-x 507 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
#!/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

%:
	dh $@

override_dh_auto_build:
	$(MAKE) 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