File: rules

package info (click to toggle)
imx-code-signing-tool 3.3.0%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,560 kB
  • sloc: ansic: 10,151; sh: 1,167; python: 384; yacc: 245; makefile: 83; lex: 59
file content (20 lines) | stat: -rwxr-xr-x 620 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:
	ln -sf debian/Makefile .
	ln -sf $(CURDIR)/debian/debian-toolchain.mk code/cst/code/build/make/

override_dh_installchangelogs:
	dh_installchangelogs Release_Notes.txt

execute_after_dh_installdocs:
	# shebang has to be the first line, *above* the copyrights
	sed -e '1 s^.*^#!/usr/bin/python3^' -i debian/*/usr/share/doc/*/*/parse_sig_blk.py
	sed -e '1 s^.*^#!/bin/bash^' -i debian/*/usr/share/doc/*/*/createSRK*
	cp code/hab_csf_parser/README $(wildcard debian/*/usr/share/doc/*)/README.csf_parser

override_dh_compress:
	dh_compress -XcreateSRK -X.py -X.sh