File: rules

package info (click to toggle)
bacula-doc 15.0.3%2Bdebian1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 45,036 kB
  • sloc: perl: 908; makefile: 684; javascript: 182; sh: 67
file content (27 lines) | stat: -rwxr-xr-x 717 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
21
22
23
24
25
26
27
#!/usr/bin/make -f

#export DH_VERBOSE=1

# needed for latex2html
export TEXINPUTS=`pwd`/latex

# see https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_ps_generated_by_dvips_issue.html
export FORCE_SOURCE_DATE := 1

# toggle build to verbose
export BUILD_VERBOSE := 1

%:
	dh $@ --no-parallel


# check result manually!
update-copyright:  LICENSE debian/template.copyright
	cp debian/template.copyright debian/copyright
# take copyright statement from the LICENSE file
	grep "^Copyright (C)" LICENSE | head -n 1 >> debian/copyright
	echo "\nLicense:" >> debian/copyright
# add the license file
	cat LICENSE >> debian/copyright
# remove trailing whitespaces
	wrap-and-sort -f debian/copyright