File: rules

package info (click to toggle)
calculix-cgx 2.11+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 12,040 kB
  • sloc: ansic: 93,565; cpp: 2,356; sh: 65; makefile: 30
file content (20 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
CGX_VERSION=2.11
CGX_SRC=cgx_${CGX_VERSION}/src
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
# DH_VERBOSE = 1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

UPSTREAM_CFLAGS="-I\."

%:
	dh $@ -D${CGX_SRC}

override_dh_auto_build:
	dh_auto_build -- CFLAGS+="-Wl,-z,relro $(UPSTREAM_CFLAGS)"

override_dh_installchangelogs:
	dh_installchangelogs -k cgx_2.11/CHANGES