File: rules

package info (click to toggle)
emacs-buttercup 1.24-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 432 kB
  • sloc: lisp: 3,478; sh: 102; makefile: 28
file content (17 lines) | stat: -rwxr-xr-x 448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# determine all markdown documentation files so we can ensure they are
# compressed below
MD_DOCS := $(wildcard debian/elpa-buttercup/usr/share/doc/elpa-buttercup/*.md)
MD_DOCS_STRIPPED := $(MD_DOCS:debian/elpa-buttercup/%=%)

%:
	dh $@ --with elpa

override_dh_auto_test:
	emacs --batch -Q -L . \
		-l tests/test-buttercup.el

override_dh_compress:
	# add files that dh_compress somehow misses
	dh_compress $(MD_DOCS_STRIPPED)