2006-10-02 18:22:13 -04:00
|
|
|
#!/bin/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)
|
|
|
|
|
2007-01-15 14:11:44 -05:00
|
|
|
# STAGE
|
|
|
|
#xeppath=/var/www/stage.xmpp.org/extensions
|
|
|
|
# PRODUCTION
|
2006-10-04 17:52:45 -04:00
|
|
|
xeppath=/var/www/xmpp.org/extensions
|
2006-10-02 18:22:13 -04:00
|
|
|
|
2006-10-16 17:31:13 -04:00
|
|
|
xsltproc xep.xsl xep-$1.xml > $xeppath/xep-$1.html
|
2007-01-15 14:11:44 -05:00
|
|
|
xsltproc ref.xsl xep-$1.xml > $xeppath/refs/reference.XSF.XEP-$1.xml
|
2006-10-04 15:07:06 -04:00
|
|
|
|
2006-10-02 18:22:13 -04:00
|
|
|
cp xep-$1.xml $xeppath/
|
|
|
|
|
2006-10-03 17:00:38 -04:00
|
|
|
# END
|