Index: work/OS/debian/control =================================================================== --- work/OS/debian/control (revision 28323) +++ work/OS/debian/control (revision 28324) @@ -84,7 +84,7 @@ place, BoM, etc. Package: pcb-rnd-doc -Architecture: any +Architecture: all Depends: ${misc:Depends}, ${shlibs:Depends} Description: Documentation for pcb-rnd User manual (html) and manual pages. Index: work/OS/debian_gen/gen.sh =================================================================== --- work/OS/debian_gen/gen.sh (revision 28323) +++ work/OS/debian_gen/gen.sh (revision 28324) @@ -2,6 +2,7 @@ declare -A SUGGESTS declare -A DLONG +declare -A ARCH ### config part ### @@ -19,6 +20,7 @@ # data not coming from $auto SUGGESTS["pcb-rnd"]="geda-gnetlist" DLONG["pcb-rnd"]="`cat $auto/../description.txt`" +ARCH["pcb-rnd-doc"]="all" ### implementation ### @@ -50,7 +52,7 @@ { local pkg="$1" local suggests="${SUGGESTS[$pkg]}" dshort dlong="${DLONG[$pkg]}" - local deps + local deps arch="${ARCH[$pkg]}" dshort=`cat $auto/$pkg.short` if test -z "$dlong" @@ -62,10 +64,14 @@ then deps=", $deps" fi + if test -z "$arch" + then + arch="any" + fi echo " Package: $pkg -Architecture: any +Architecture: $arch Depends: \${misc:Depends}, \${shlibs:Depends}$deps" if test ! -z "$suggests" then