| 1 |
|
| 2 |
|
| 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 |
|
| 19 |
dh_auto_install -- GNUSTEP_SYSTEM_LIBRARIES=/usr/lib/gnustep-xcode |
| 20 |
|
| 21 |
execute_before_dh_fixperms: |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 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 |
|
| 32 |
$(RM) -r debian/xcode-tools/usr/include |
| 33 |
find debian/xcode-tools -type l -name Headers -delete |
| 34 |
|
| 35 |
override_dh_makeshlibs: |
| 36 |
|
| 37 |
dh_makeshlibs --no-scripts |