-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@51 4b5297f7-1745-476d-ba37-a9c6900126ab
- Loading branch information
Peter Saint-Andre
committed
Oct 4, 2006
1 parent
2d4af4e
commit 56412aa
Showing
84 changed files
with
249 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,20 @@ | ||
#!/bin/sh | ||
# for each XEP, generates HTML file and IETF reference, then copies XML file | ||
# also generates HTML for the README and template | ||
# finally, copies the stylesheet, DTD, and schema | ||
# usage: ./all.sh | ||
# for one XEP, generates HTML file and IETF reference, then copies XML file | ||
# usage: ./gen.sh xxxx | ||
# (where xxxx is the 4-digit XEP number) | ||
|
||
xeppath=/var/www/stage.xmpp.org/extensions | ||
|
||
ls xep-0*.xml > tmp.txt | ||
sed s/xep-\(.*\).xml/\1/ tmp.txt > nums.txt | ||
rm tmp.txt | ||
xsltproc xep.xsl xep-$1.xml > $xeppath/jep-$1.html | ||
xsltproc ref.xsl xep-$1.xml > $xeppath/refs/reference.JSF.XEP-$1.xml | ||
|
||
while read f | ||
do | ||
xsltproc xep.xsl xep-$f.xml > $xeppath/xep-$f.html | ||
xsltproc ref.xsl xep-$f.xml > $xeppath/refs/reference.JSF.XEP-$f.xml | ||
cp xep-$f.xml $xeppath/ | ||
done < nums.txt | ||
cp xep-$1.xml $xeppath/ | ||
|
||
rm nums.txt | ||
|
||
xsltproc xep.xsl xep-README.xml > $xeppath/README.html | ||
xsltproc xep.xsl xep-template.xml > $xeppath/template.html | ||
|
||
cp xep.dtd $xeppath/ | ||
cp xep.ent $xeppath/ | ||
cp xep.xsd $xeppath/ | ||
cp xep.xsl $xeppath/ | ||
cp *.dtd $xeppath/ | ||
cp *.ent $xeppath/ | ||
cp *.gif $xeppath/ | ||
cp *.html $xeppath/ | ||
cp *.shtml $xeppath/ | ||
cp *.xsd $xeppath/ | ||
|
||
# END | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.