21.08.2012 Aufrufe

Computertechnik mit Mikrocontrollern

Computertechnik mit Mikrocontrollern

Computertechnik mit Mikrocontrollern

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

ANHANG D. PROGRAMM PCB 236<br />

local m=./usr/share/man/man1<br />

if ! [ -d $c ]; then mkdir $c; chmod 755 ${c}; fi<br />

echo "Call $Nam for copyright-information." >${c}/copyright<br />

echo "Call $Nam for changelog-information." >${c}/changelog.Debian<br />

gzip -9 ${c}/changelog.Debian<br />

chmod 644 ${c}/*<br />

cat >${m}/$Nam.1<br />

(exec $Dir/$Nam.man $n|sed -e 2,\$d -e "s/[^\\.]*\\./.B /" >>${m}/$Nam.1)<br />

(exec $Dir/$Nam.man $n|sed 1d >>${m}/$Nam.1)<br />

done<br />

cat ${m}/$Nam.1<br />

.RE<br />

.SH INFO<br />

EOF<br />

(exec $Dir/$Nam.info >>${m}/$Nam.1)<br />

cat ${m}/$Nam.1<br />

.SH AUTHOR<br />

This manual page was written by $Nam.makedeb.<br />

EOF<br />

gzip -9 ${m}/$Nam.1<br />

chmod 644 ${m}/$Nam.1.gz<br />

tar -zcvf $d.tar.gz .${Location}/$Nam ${c} ${m}/$Nam.1.gz<br />

ar -r ${Nam}_${Version}_${Architecture}.deb \<br />

debian-binary control.tar.gz $d.tar.gz<br />

rm debian-binary control.tar.gz $d.tar.gz<br />

mv ${Nam}_${Version}_${Architecture}.deb $pwd # 20021105 HKU<br />

if [ $Dir != $Location ]; then # 20021121 HKU<br />

rm $Location/$Nam $Location/$Nam.include<br />

fi<br />

;; esac; } # end of method makedeb<br />

################################### new ###################################<br />

Lot="$Lot grep"<br />

Lom="$Lom new"; pcb.new () { funcname=$Nam.new<br />

case $Met in

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!