File: rules

package info (click to toggle)
gauche 0.9.10-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 48,144 kB
  • sloc: lisp: 142,132; ansic: 118,007; sh: 5,381; makefile: 2,737; cpp: 1,630; asm: 107
file content (26 lines) | stat: -rwxr-xr-x 727 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
# -*- makefile-gmake -*-
#export DH_VERBOSE=1
export DH_OPTIONS

%:
	dh $@

override_dh_auto_clean:
	-dh_auto_clean
	rm -f lib/gauche/config.scm
	find . -name "*.sci" | xargs rm -f
	find . -type l -name "*.scm" | xargs rm -f
#	rm -f configure config.sub config.guess

override_dh_auto_configure:
	dh_auto_configure -- --libdir=\$${prefix}/lib --libexecdir=\$${prefix}/lib \
	  --enable-multibyte=utf-8 --enable-ipv6 --enable-threads=pthreads \
	  --with-libatomic-ops=no --with-slib=/usr/share/slib --with-tls=mbedtls \
	  EXTRA_TEST_LIBS=-lpthread

override_dh_auto_build:
	dh_auto_build -O--no-parallel

override_dh_auto_install:
	make DESTDIR=$(CURDIR)/debian/tmp slibcat-in-place install-pkg install-doc