Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 #export DH_VERBOSE = 1
3
4 include /usr/share/GNUstep/debian/config.mk
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-rpath,/usr/lib/gnustep-xcode
7
8 res := $(GNUSTEP_SYSTEM_FRAMEWORKS)/XCode.framework/Versions/0/Resources
9
10 %:
11 dh $@
12
13 override_dh_auto_build:
14 dh_auto_build -- $(optim) $(verbose) \
15 $(shell dpkg-buildflags --export=cmdline)
16
17 override_dh_auto_install:
18 # Install the library as private; there are no rdeps.
19 dh_auto_install -- GNUSTEP_SYSTEM_LIBRARIES=/usr/lib/gnustep-xcode
20
21 execute_before_dh_fixperms:
22 # Building a framework fails because this script is not executable and
23 # has CLRF line terminators. Furthermore, there are two legitimate
24 # lintian issues (E: shell-script-fails-syntax-check and W:
25 # script-not-executable).
26 dos2unix debian/xcode-tools$(res)/create-dummy-class.sh
27 chmod +x debian/xcode-tools$(res)/create-dummy-class.sh
28
29 execute_before_dh_link:
30 gsdh_gnustep
31 # Delete headers and broken symlinks.
32 $(RM) -r debian/xcode-tools/usr/include
33 find debian/xcode-tools -type l -name Headers -delete
34
35 override_dh_makeshlibs:
36 # Avoid lintian complaints for the private library.
37 dh_makeshlibs --no-scripts