File: rules

package info (click to toggle)
slime 2%3A2.23%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,560 kB
  • sloc: lisp: 48,716; ruby: 321; makefile: 239; awk: 10
file content (29 lines) | stat: -rwxr-xr-x 723 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
#!/usr/bin/make -f

%:

	dh $@ --with elpa

override_dh_auto_build:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
	$(MAKE) -C doc slime.ps slime.info slime.pdf slime-refcard.pdf html/index.html
endif

override_dh_auto_test:

override_dh_auto_clean:
	$(MAKE) doc-clean

override_dh_install:
	dh_install
	# The file created below is used by swank-loader::slime-version-string,
	# as modified by paths.patch.
	grep '^;;\s*Version:' slime.el | sed 's/;;\s*Version:\s//' > debian/cl-swank/usr/share/common-lisp/source/slime/slime-version

override_dh_elpa:
	dh_elpa
	# cl-lib.el is included in Emacs >= 24, so no need to ship it (see #767527).
	find debian/slime -name cl-lib.el -delete

override_dh_compress:
	dh_compress -Xpdf