File: rules

package info (click to toggle)
node-fast-safe-stringify 2.1.1%2B~2.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 316 kB
  • sloc: javascript: 2,607; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 652 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk
SAFESTABLESTRINGIFY_DOCDIR=debian/$(DEB_SOURCE)/usr/share/doc/node-safe-stable-stringify

%:
	dh $@

override_dh_installdocs:
	dh_installdocs
	mkdir -p $(SAFESTABLESTRINGIFY_DOCDIR)
	ln -s "../$(DEB_SOURCE)/copyright" $(SAFESTABLESTRINGIFY_DOCDIR)/
	install -m 644 safe-stable-stringify/readme.md $(SAFESTABLESTRINGIFY_DOCDIR)/

override_dh_installchangelogs:
	dh_installchangelogs
	mkdir -p $(SAFESTABLESTRINGIFY_DOCDIR)
	install -m 644 safe-stable-stringify/CHANGELOG.md $(SAFESTABLESTRINGIFY_DOCDIR)/changelog