File: rules

package info (click to toggle)
ries 2018.08.05-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 728 kB
  • sloc: ansic: 6,648; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 410 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PREFIX = /usr

%:
	dh $@

override_dh_installchangelogs:
	mkdir -p debian/ries/usr/share/doc/ries/
	sed -n '/REVISION HISTORY$$/,/BUGS and TO-DO/p' ries.c | head -n-3 > changelog
	dh_installchangelogs

update_source:
	wget -O ries.c 'https://mrob.com/pub/ries/src/ries.c.txt'
	wget -O ries.1 'https://mrob.com/pub/ries/doc/ries.1.txt'