1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/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
%:
dh $@ --no-parallel
# check result manually!
update-copyright: LICENSE manuals/en/main/coverpage.tex debian/template.copyright
cp debian/template.copyright debian/copyright
# take copyright and dates from the coverpage
cat manuals/en/main/coverpage.tex | grep -i copyright | sed 's/{\\textcopyright}/(c)/' | sed 's/^[[:space:]]*//' | tr -d '\\' >> debian/copyright
echo "\nLicense:" >> debian/copyright
# add the license file
cat LICENSE >> debian/copyright
# remove trailing whitespaces
wrap-and-sort -f debian/copyright
|