| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
#export DH_VERBOSE=1 |
| 4 |
|
| 5 |
# needed for latex2html |
| 6 |
export TEXINPUTS=`pwd`/latex |
| 7 |
|
| 8 |
# see https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_ps_generated_by_dvips_issue.html |
| 9 |
export FORCE_SOURCE_DATE := 1 |
| 10 |
|
| 11 |
# toggle build to verbose |
| 12 |
export BUILD_VERBOSE := 1 |
| 13 |
|
| 14 |
%: |
| 15 |
dh $@ --no-parallel |
| 16 |
|
| 17 |
|
| 18 |
# check result manually! |
| 19 |
update-copyright: LICENSE debian/template.copyright |
| 20 |
cp debian/template.copyright debian/copyright |
| 21 |
# take copyright statement from the LICENSE file |
| 22 |
grep "^Copyright (C)" LICENSE | head -n 1 >> debian/copyright |
| 23 |
echo "\nLicense:" >> debian/copyright |
| 24 |
# add the license file |
| 25 |
cat LICENSE >> debian/copyright |
| 26 |
# remove trailing whitespaces |
| 27 |
wrap-and-sort -f debian/copyright |