File: rules

package info (click to toggle)
node-base64url 3.0.1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 316 kB
  • sloc: javascript: 62; makefile: 13; sh: 1
file content (21 lines) | stat: -rwxr-xr-x 336 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
#!/usr/bin/make -f

# generate documentation unless nodoc requested
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
DOCS = readme.html readme.txt
endif

override_dh_auto_build: $(DOCS)
	tsc

override_dh_auto_test:
	tap --no-coverage test/*.test.js

%.html: %.md
	cmark-gfm $< > $@

%.txt: %.md
	cmark-gfm --to plaintext $< > $@

%:
	dh $@