Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 export DH_VERBOSE=1
6
7 %:
8 dh $@
9
10 index.mjs: index.js
11 cp $< $@
12
13 index.cjs: index.js
14 rollup -c debian/rollup.config.mjs
15
16 index.d.cts: index.d.ts
17 sed '/^export default.*/d' < $< > $@
18 sed -i 's/export / /g' $@
19 echo "export = slash;" >> $@
20
21 execute_before_dh_auto_build: index.mjs index.cjs index.d.cts
22