File: rules

package info (click to toggle)
erfa 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,676 kB
  • ctags: 526
  • sloc: ansic: 16,387; makefile: 48; sh: 11
file content (17 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# see https://bugs.debian.org/835105
# and https://github.com/liberfa/erfa/issues/33
# and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77365
CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -O0 -fno-caller-saves
export CFLAGS

%:
	dh $@ --with autoreconf --parallel

override_dh_autoreconf:
	mkdir -p m4
	dh_autoreconf