Make it possible to use the cgi script without installing a web
server. * wrap/python/cgi-bin/ltl2tgba.in: Starts a web server if the script is not called as a CGI. Arrange to load libraries from the build directory. Create the spotimg/ if needed when run as a web server. * wrap/python/cgi-bin/Makefile.am: Adjust build rule and clean the spotimg directory. * wrap/python/cgi-bin/README, NEWS: Update.
This commit is contained in:
parent
24cde3c21f
commit
4efde0d3d3
5 changed files with 85 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
## Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
## Copyright (C) 2003, 2010 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
## département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
## et Marie Curie.
|
||||
##
|
||||
|
|
@ -26,7 +26,12 @@ CLEANFILES = $(nodist_noinst_SCRIPTS)
|
|||
ltl2tgba.py: $(srcdir)/ltl2tgba.in Makefile
|
||||
sed -e 's|[@]PYTHON[@]|@PYTHON@|g' \
|
||||
-e 's|[@]pythondir[@]|@pythondir@|g' \
|
||||
-e 's|[@]srcdir[@]|@srcdir@|g' \
|
||||
-e 's|[@]top_builddir[@]|@top_builddir@|g' \
|
||||
-e 's|[@]PACKAGE_VERSION[@]|@PACKAGE_VERSION@|g' \
|
||||
<$(srcdir)/ltl2tgba.in >ltl2tgba.tmp
|
||||
chmod +x ltl2tgba.tmp
|
||||
mv -f ltl2tgba.tmp $@
|
||||
|
||||
clean-local:
|
||||
rm -rf spotimg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue