Index: trunk/util/devhelpers/deblist.sh =================================================================== --- trunk/util/devhelpers/deblist.sh (nonexistent) +++ trunk/util/devhelpers/deblist.sh (revision 4327) @@ -0,0 +1,68 @@ +#!/bin/sh + +# Process the debian/control file and produce a html table that explains +# the purpose of each package + +echo ' + + + pcb-rnd - Debian package list + + + + + + + + + + +

pcb-rnd - Debian package list

+ +
name internal dependencies description +' + +awk ' +function out() +{ + if (pkg == "") + return + print "
" pkg "" deps "" desc + pkg="" + deps="" + desc="" + para=0 +} + +/^Package:/ { + out(); + pkg=$2 + para=0 +} +#Depends: ${misc:Depends}, ${shlibs:Depends}, pcb-rnd-core, pcb-rnd-gtk +/^Depends:/ { + deps=$0 + sub("Depends: *", "", deps) + gsub("[$][{][^}]*[}],?", "", deps) +} + +/^ [.]/ { + if (para > 0) + desc = desc "

" + para++ + next +} + +(para > 0) { + desc = desc " " $0 +} + +END { + out() +} +' + + +echo ' +

+' \ No newline at end of file Property changes on: trunk/util/devhelpers/deblist.sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property