File: rules

package info (click to toggle)
cross-gcc 245
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 716 kB
  • sloc: sh: 562; makefile: 196
file content (16 lines) | stat: -rwxr-xr-x 309 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $@


override_dh_auto_build: cross-gcc-gensource.1
	dh_auto_build

%.1: %.pod
	pod2man --release="cross-gcc-dev=$(shell dpkg-parsechangelog --show-field=Version)" \
	        --center="cross-gcc-dev documentation" --section=1 $< $@

override_dh_auto_clean:
	rm -f *.1
	dh_auto_clean