Mercurial > ecos-v2_0-branch
comparison doc/sgml/makemakefile @ 475:5d3c69a21b47
* sgml/makemakefile: Try to shorten generated entity names.
* sgml/doclist: add terminating LF.
| author | jlarmour |
|---|---|
| date | Fri, 03 Jan 2003 23:42:20 +0000 |
| parents | 256f9ccc0c3c |
| children | 40ccd63e9356 |
comparison
equal
deleted
inserted
replaced
| 474:f0d9ca957f47 | 475:5d3c69a21b47 |
|---|---|
| 180 EOF | 180 EOF |
| 181 | 181 |
| 182 for i in `cat doclist`; do | 182 for i in `cat doclist`; do |
| 183 line="`echo $i | sed 's/#.*//;'`" | 183 line="`echo $i | sed 's/#.*//;'`" |
| 184 if (test ! -z $line); then | 184 if (test ! -z $line); then |
| 185 entityi="`echo $i | sed 's@/@-@g; s@\.@-@g; s@_@-@g'`" | 185 entityi="`echo $i | sed 's@/@-@g; s@\.@-@g; s@_@-@g; s@-current-doc@@g; s@-current@@g'`" |
| 186 # special kludge | 186 # special kludge |
| 187 if [ "`basename $i`" != "tcpip-manpages.sgml" ]; then | 187 if [ "`basename $i`" != "tcpip-manpages.sgml" ]; then |
| 188 echo "&$entityi;" >> ecos.sgml | 188 echo "&$entityi;" >> ecos.sgml |
| 189 fi | 189 fi |
| 190 fi | 190 fi |
