File: rules

package info (click to toggle)
gnustep-corebase 0.1.1%2B20230710-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,608 kB
  • sloc: ansic: 25,359; objc: 4,347; cpp: 75; xml: 49; makefile: 24; sh: 7
file content (39 lines) | stat: -rwxr-xr-x 890 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/make -f
#export DH_VERBOSE = 1

include /usr/share/GNUstep/debian/config.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --without-gcd

override_dh_auto_build-arch:
	dh_auto_build -- $(verbose) $(optim) \
	  $(shell dpkg-buildflags --export=cmdline)
	dh_auto_build -- $(verbose) shared=no

override_dh_auto_build-indep:
	doxygen

override_dh_auto_install-arch:
	dh_auto_install
	dh_auto_install -- shared=no

# Nothing to install; prevent useless build of the library.
override_dh_auto_install-indep: ;

override_dh_auto_test-arch:
	dh_auto_test -- $(verbose) || (cat Tests/tests.log; exit 1)

# Testsuite natually fails if the library is not built.
override_dh_auto_test-indep: ;

override_dh_auto_clean:
	-dh_auto_clean

execute_before_dh_link:
	gsdh_gnustep