| 1 |
#!/usr/bin/make -f |
| 2 |
# see FEATURE AREAS in dpkg-buildflags(1) |
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
|
| 5 |
# see ENVIRONMENT in dpkg-buildflags(1) |
| 6 |
# package maintainers to append CFLAGS |
| 7 |
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic |
| 8 |
# package maintainers to append LDFLAGS |
| 9 |
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 10 |
|
| 11 |
%: |
| 12 |
dh $@ --sourcedirectory=sdl |
| 13 |
|
| 14 |
override_dh_auto_build: |
| 15 |
$(MAKE) -C sdl -f Makefile.linux |
| 16 |
|
| 17 |
override_dh_auto_clean: |
| 18 |
@echo no clean target |
| 19 |
|
| 20 |
override_dh_compress: |
| 21 |
dh_compress -X.hvl -X.ahx |
| 22 |
|
| 23 |
override_dh_fixperms: |
| 24 |
dh_fixperms |
| 25 |
find debian -name 'Settings_os*' -exec chmod -x {} + |
| 26 |
find debian -name '*.ins' -exec chmod -x {} + |
| 27 |
find debian -name '*.hvl' -exec chmod -x {} + |
| 28 |
find debian -name '*.ahx' -exec chmod -x {} + |