Update of /cvsroot/woc/woc/bin/index
In directory usw-pr-cvs1:/tmp/cvs-serv28345/bin/index
Modified Files:
.cvsignore genlangxslts.pl
Added Files:
Makefile.am woclist.sh.in
Removed Files:
Makefile woclist.sh
Log Message:
Getting the system to work at home as well.
Autotools will help system find tools it needs, like
perl,sh etc.
--- NEW FILE: Makefile.am ---
bin_SCRIPTS = woclist.sh
all: woclist.xml
woclist.xml:
woclist.sh
clean:
rm genindex.*.xsl
rm makechemtrans.sh
rm woclist.xml
--- NEW FILE: woclist.sh.in ---
#! @PATHTOSH@ -e
# Author: Geert Josten
NAME="woclist"
EXT=".xml"
TEMP=".tmp"
TEMP2=".tmp2"
WMLDIR="../../data/wml"
# cmldir is in perl-stukje gedefinieerd
cat `find $WMLDIR -name "*.xml"` > $NAME$TEMP
echo '<?xml version="1.0" encoding="ISO-8859-1"?>' > ! $NAME$TEMP2
echo '<\!DOCTYPE ITEM SYSTEM "../../lib/xml/dtd/'$NAME'.dtd">' >> $NAME$TEMP2
echo '<'$NAME' xmlns:xsl="http://www.w3.org/1999/XSL/Transform"' >> $NAME$TEMP2
echo ' xmlns:import="http://www.sci.kun.nl/woc/import"' >> $NAME$TEMP2
echo ' xmlns:xlink="http://www.sci.kun.nl/woc/topicmap">' >> $NAME$TEMP2
awk "/\<ITEM/,/\<\/ITEM/{print}" $NAME$TEMP >> $NAME$TEMP2
echo '</'$NAME'>' >> $NAME$TEMP2
@PATHTOPERL@ $NAME.pl $NAME$TEMP2 $NAME$EXT
rm $NAME$TEMP $NAME$TEMP2
chgrp wwwwoc $NAME$EXT
chmod 664 $NAME$EXT
Index: .cvsignore
===================================================================
RCS file: /cvsroot/woc/woc/bin/index/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** .cvsignore 19 Jul 2002 12:19:56 -0000 1.1
--- .cvsignore 20 Jul 2002 09:34:26 -0000 1.2
***************
*** 1,2 ****
--- 1,5 ----
+ Makefile
+ Makefile.in
+ woclist.sh
woclist.xml
makechemtrans.sh
Index: genlangxslts.pl
===================================================================
RCS file: /cvsroot/woc/woc/bin/index/genlangxslts.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** genlangxslts.pl 19 Jul 2002 12:41:15 -0000 1.2
--- genlangxslts.pl 20 Jul 2002 09:34:26 -0000 1.3
***************
*** 1,3 ****
! #! /usr/local/bin/perl -w
use strict;
use diagnostics;
--- 1,3 ----
! #! perl -w
use strict;
use diagnostics;
--- Makefile DELETED ---
--- woclist.sh DELETED ---
|