| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile-gmake -*- |
| 3 |
#export DH_VERBOSE=1 |
| 4 |
export DH_OPTIONS |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
override_dh_auto_clean: |
| 10 |
-dh_auto_clean |
| 11 |
rm -f lib/gauche/config.scm |
| 12 |
find . -name "*.sci" | xargs rm -f |
| 13 |
find . -type l -name "*.scm" | xargs rm -f |
| 14 |
# rm -f configure config.sub config.guess |
| 15 |
|
| 16 |
override_dh_auto_configure: |
| 17 |
dh_auto_configure -- --libdir=\$${prefix}/lib --libexecdir=\$${prefix}/lib \ |
| 18 |
--enable-multibyte=utf-8 --enable-ipv6 --enable-threads=pthreads \ |
| 19 |
--with-slib=/usr/share/slib --with-tls=mbedtls \ |
| 20 |
EXTRA_TEST_LIBS=-lpthread |
| 21 |
|
| 22 |
override_dh_auto_build: |
| 23 |
dh_auto_build -O--no-parallel |
| 24 |
|
| 25 |
override_dh_auto_install: |
| 26 |
make DESTDIR=$(CURDIR)/debian/tmp slibcat-in-place install-pkg install-doc |