File: rules

package info (click to toggle)
cl-launch 4.1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 356 kB
  • sloc: sh: 2,957; lisp: 584; makefile: 95; ansic: 29
file content (32 lines) | stat: -rwxr-xr-x 798 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
27
28
29
30
31
32
#!/usr/bin/make -f

pkg		:= cl-launch
debpkg		:= cl-launch

DESTDIR         := debian/$(debpkg)
clc-source      := usr/share/common-lisp/source
clc-systems     := usr/share/common-lisp/systems
include_dir	:= $(clc-source)/$(pkg)
doc-dir         := usr/share/doc/$(debpkg)


%:
	dh $@

override_dh_auto_clean:
	echo "Upstream clean target is just cleaning up git repository"

override_dh_auto_configure:
	sh ./cl-launch.sh \
		--include /${include_dir} \
		--lisp "sbcl ccl clisp abcl cmucl ecl mkcl allegro lispworks scl gcl xcl" \
		--rc \
		-B generate_install_files

#override_dh_auto_test:
#	echo "Skipping tests"

override_dh_auto_install:
	dh_installdirs -p ${debpkg} $(include_dir) $(doc-dir)
	dh_install -i launcher.lisp wrapper.sh cl-launch.asd build.xcvb \
		dispatch.lisp ${include_dir}