File: rules

package info (click to toggle)
cube2 0.0.20130404%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,452 kB
  • sloc: cpp: 75,474; ansic: 16,780; makefile: 880; sh: 16
file content (26 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- \
		CPPFLAGS="$(CPPFLAGS)" \
		CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
		CXXFLAGS="$(CXXFLAGS) $(CPPFLAGS)" \
		LDFLAGS="$(LDFLAGS)" \
		client server

override_dh_auto_install:
#skip dh_auto_install because upstream's install target is broken

override_dh_install:
	mv sauer_client cube2_client
	mv sauer_server cube2_server
	dh_install

override_dh_clean:
	dh_clean
	$(RM) cube2_client cube2_server