| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
CFLAGS += -O0 -std=gnu17 |
| 17 |
|
| 18 |
%: |
| 19 |
dh $@ |
| 20 |
|
| 21 |
override_dh_testdir: |
| 22 |
dh_testdir |
| 23 |
test -e /usr/share/slib || \ |
| 24 |
(echo "Must have slib installed for compile" && exit 1) |
| 25 |
|
| 26 |
override_dh_auto_configure: |
| 27 |
./configure |
| 28 |
cp debian/require.scm.debian require.scm |
| 29 |
cp debian/scm.opt.debian libscm.opt |
| 30 |
|
| 31 |
override_dh_auto_build: |
| 32 |
make scmlit |
| 33 |
|
| 34 |
./build -p linux -hsystem -f libscm.opt |
| 35 |
./build -p linux -hsystem -f libscm.opt -t lib |
| 36 |
makeinfo --html --no-split scm.texi |
| 37 |
makeinfo --html --no-split Xlibscm.texi |
| 38 |
cp XlibScm.html Xlibscm.html |
| 39 |
cp ChangeLog changelog |
| 40 |
|
| 41 |
override_dh_strip: |
| 42 |
dh_strip --no-automatic-dbgsym |
| 43 |
|
| 44 |
override_dh_auto_install: |
| 45 |
|
| 46 |
chmod a-x *.scm *.c |
| 47 |
|
| 48 |
chmod a+x compile.scm |
| 49 |
|