File: rules

package info (click to toggle)
cl-kmrcl 1.109-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 368 kB
  • sloc: lisp: 4,795; makefile: 60
file content (53 lines) | stat: -rwxr-xr-x 888 bytes parent folder | download | duplicates (2)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/make -f

pkg		:= kmrcl
pkg-tests 	:= $(pkg)-tests
debpkg  	:= cl-$(pkg)

clc-source	:= usr/share/common-lisp/source
clc-systems	:= usr/share/common-lisp/systems
clc-files	:= $(clc-source)/$(pkg)
clc-tests	:= $(clc-source)/$(pkg-tests)

tests-files	:= tests.lisp
source-files	:= $(filter-out $(tests-files),$(wildcard *.lisp))


build: build-arch build-indep

build-arch:

build-indep:

clean:
	dh_testdir
	dh_testroot
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs
	dh_install $(pkg).asd $(source-files) $(clc-files)
	dh_install $(pkg-tests).asd $(tests-files) $(clc-tests)

binary-indep: install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installchangelogs
	dh_lisp
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:

binary: binary-indep


.PHONY: build clean binary-indep binary-arch binary install