File: rules

package info (click to toggle)
empire 1.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 460 kB
  • sloc: ansic: 5,604; xml: 1,016; makefile: 112
file content (23 lines) | stat: -rwxr-xr-x 559 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
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS   := $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) -Wno-format-security
LDFLAGS  := $(shell dpkg-buildflags --get LDFLAGS)

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS)" PROFILE="$(LDFLAGS)"

override_dh_auto_install:
	# Do not use upstream's install target but Debian's install file instead.

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_install:
	mv vms-empire empire
	dh_install

override_dh_auto_clean:
	$(RM) *.o empire