mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
stage vs. production
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@333 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
29bee13867
commit
734732b3ba
5
all.sh
5
all.sh
@ -2,6 +2,9 @@
|
||||
# for all XEPs, generates HTML files and IETF-style reference, then copies XML file
|
||||
# usage: ./all.sh
|
||||
|
||||
# STAGE
|
||||
#xeppath=/var/www/stage.xmpp.org/extensions
|
||||
# PRODUCTION
|
||||
xeppath=/var/www/xmpp.org/extensions
|
||||
|
||||
ls xep-0*.xml > tmp1.txt
|
||||
@ -12,7 +15,7 @@ rm tmp*.txt
|
||||
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
|
||||
xsltproc ref.xsl xep-$f.xml > $xeppath/refs/reference.XSF.XEP-$f.xml
|
||||
cp xep-$f.xml $xeppath/
|
||||
done < nums.txt
|
||||
|
||||
|
5
gen.sh
5
gen.sh
@ -3,10 +3,13 @@
|
||||
# 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.JSF.XEP-$1.xml
|
||||
xsltproc ref.xsl xep-$1.xml > $xeppath/refs/reference.XSF.XEP-$1.xml
|
||||
|
||||
cp xep-$1.xml $xeppath/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user