File: rules

package info (click to toggle)
cl-graph 20180131-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 240 kB
  • sloc: lisp: 2,884; makefile: 16
file content (22 lines) | stat: -rwxr-xr-x 606 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

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

%:
	dh $@ --with lisp

override_dh_install:
	dh_install *.asd $(clc-files)
	dh_install *.lisp $(clc-files)

override_dh_link:
	dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd
	dh_link $(clc-files)/$(pkg)-dot.asd $(clc-systems)/$(pkg)-dot.asd
	dh_link $(clc-files)/$(pkg)-json.asd $(clc-systems)/$(pkg)-json.asd
	dh_link $(clc-files)/$(pkg)-matrix.asd $(clc-systems)/$(pkg)-matrix.asd

override_dh_installdocs:
	dh_installdocs README NOTES