1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
cat debian/copyright.dep5-head > debian/copyright
echo >> debian/copyright
echo "generating main copyright dep-5 format ..."
sh -c "cd build-tree/; ../debian/licensecheck.pl -a src/" >> debian/copyright
echo "generating problem report (see README.copyright ..."
sh -c "cd build-tree/; ../debian/licensecheck.pl src/" > debian/copyright.problems
echo "appending license details ..."
for i in debian/licenses/LICENSE.*; do
echo >> debian/copyright
cat "$i" >> debian/copyright
done
|