mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
734732b3ba
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@333 4b5297f7-1745-476d-ba37-a9c6900126ab
17 lines
407 B
Bash
Executable File
17 lines
407 B
Bash
Executable File
#!/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)
|
|
|
|
# STAGE
|
|
#xeppath=/var/www/stage.xmpp.org/extensions
|
|
# PRODUCTION
|
|
xeppath=/var/www/xmpp.org/extensions
|
|
|
|
xsltproc xep.xsl xep-$1.xml > $xeppath/xep-$1.html
|
|
xsltproc ref.xsl xep-$1.xml > $xeppath/refs/reference.XSF.XEP-$1.xml
|
|
|
|
cp xep-$1.xml $xeppath/
|
|
|
|
# END
|