File: rules

package info (click to toggle)
xskat 4.0-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 956 kB
  • sloc: ansic: 19,233; makefile: 40; sh: 9
file content (24 lines) | stat: -rwxr-xr-x 653 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
24
#!/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:
	# build with -std=c99 to fix FTBFS with GCC-15 (#1098169)
	dh_auto_build -- CC="$(CC)" CCOPTIONS="$(CFLAGS) $(CPPFLAGS) -std=c99" EXTRA_LDOPTIONS="$(LDFLAGS)" PREPROCESSMANPAGES=

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