Mercurial > flash_v2
comparison doc/sgml/makemakefile @ 1668:320a73933e7d
* sgml/makemakefile: Replace plusses with x'es in all entities.
| author | jlarmour |
|---|---|
| date | Tue, 15 Jun 2004 20:20:09 +0000 |
| parents | baa5ad6ae1ed |
| children |
comparison
equal
deleted
inserted
replaced
| 1667:dc5f9783d45a | 1668:320a73933e7d |
|---|---|
| 74 | 74 |
| 75 for i in `cat ${doclist}`; do | 75 for i in `cat ${doclist}`; do |
| 76 line="`echo $i | sed 's/#.*//;'`" | 76 line="`echo $i | sed 's/#.*//;'`" |
| 77 if (test ! -z $line); then | 77 if (test ! -z $line); then |
| 78 /bin/echo -n " ${toplvl}/packages/$i" | sed "s@/current/@/${PACKAGEVER}/@g" >> makefile | 78 /bin/echo -n " ${toplvl}/packages/$i" | sed "s@/current/@/${PACKAGEVER}/@g" >> makefile |
| 79 entityi="`echo $i | sed 's@/@-@g; s@\.@-@g; s@_@-@g; s@-current-doc@@g; s@-current@@g'`" | 79 entityi="`echo $i | sed 's@\+@x@g; s@/@-@g; s@\.@-@g; s@_@-@g; s@-current-doc@@g; s@-current@@g'`" |
| 80 echo "<!ENTITY $entityi SYSTEM \"${toplvl}/packages/$i\">" | sed "s@/current/@/${PACKAGEVER}/@g" >> ecos-ref.sgml | 80 echo "<!ENTITY $entityi SYSTEM \"${toplvl}/packages/$i\">" | sed "s@/current/@/${PACKAGEVER}/@g" >> ecos-ref.sgml |
| 81 fi | 81 fi |
| 82 done | 82 done |
| 83 | 83 |
| 84 # Go through again but find GIFs and PNGs to copy | 84 # Go through again but find GIFs and PNGs to copy |
| 205 EOF | 205 EOF |
| 206 | 206 |
| 207 for i in `cat ${doclist}`; do | 207 for i in `cat ${doclist}`; do |
| 208 line="`echo $i | sed 's/#.*//;'`" | 208 line="`echo $i | sed 's/#.*//;'`" |
| 209 if (test ! -z $line); then | 209 if (test ! -z $line); then |
| 210 entityi="`echo $i | sed 's@/@-@g; s@\.@-@g; s@_@-@g; s@-current-doc@@g; s@-current@@g'`" | 210 entityi="`echo $i | sed 's@\+@x@g; s@/@-@g; s@\.@-@g; s@_@-@g; s@-current-doc@@g; s@-current@@g'`" |
| 211 # special kludge | 211 # special kludge |
| 212 if [ "`basename $i`" != "tcpip-manpages.sgml" -a \ | 212 if [ "`basename $i`" != "tcpip-manpages.sgml" -a \ |
| 213 "`basename $i`" != "snmp-manpages.sgml" -a \ | 213 "`basename $i`" != "snmp-manpages.sgml" -a \ |
| 214 "`basename $i`" != "libipsec.sgml" -a \ | 214 "`basename $i`" != "libipsec.sgml" -a \ |
| 215 "`basename $i`" != "libipsec-manpages.sgml" -a \ | 215 "`basename $i`" != "libipsec-manpages.sgml" -a \ |
