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
|