liquid_feedback_frontend

changeset 131:adc1b0554667

add make file to generate html help files
author Daniel Poelzleithner <poelzi@poelzi.org>
date Tue Oct 05 14:28:37 2010 +0200 (2010-10-05)
parents e1b916d2e489
children 90d16ad8d6d2
files README locale/Makefile
line diff
     1.1 --- a/README	Tue Oct 05 05:42:20 2010 +0200
     1.2 +++ b/README	Tue Oct 05 14:28:37 2010 +0200
     1.3 @@ -61,7 +61,11 @@
     1.4  
     1.5  7. Compile help messages from wiki to html
     1.6  
     1.7 -cd /opt/liquid_feedback_frontend/locale/help
     1.8 +cd /opt/liquid_feedback_frontend/locale/
     1.9 +make
    1.10 +
    1.11 +or by hand:
    1.12 +
    1.13  for file in *.txt; do /opt/rocketwiki-lqfb/rocketwiki-lqfb < $file > $file.html; done
    1.14  
    1.15  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/locale/Makefile	Tue Oct 05 14:28:37 2010 +0200
     2.3 @@ -0,0 +1,21 @@
     2.4 +PATH:=$(PATH):/opt/rocketwiki-lqfb/
     2.5 +
     2.6 +DIRS = help
     2.7 +HTML_SOURCE := $(foreach DIR,$(DIRS),$(wildcard $(DIR)/*.txt))
     2.8 +HTML_HELP := $(HTML_SOURCE:.txt=.txt.html)
     2.9 +TARGET = all
    2.10 +
    2.11 +
    2.12 +%.txt.html: %.txt
    2.13 +	rocketwiki-lqfb < $< > $@
    2.14 +
    2.15 +
    2.16 +help_html: $(HTML_HELP)
    2.17 +	echo $(HTML_SOURCE)
    2.18 +	echo $(HTML_HELP)
    2.19 +#	for FILE in help/*.txt; do echo $FILE; rocketwiki-lqfb < $FILE ; done
    2.20 +
    2.21 +clean:
    2.22 +	rm -f $(HTML_HELP)
    2.23 +
    2.24 +all: help_html

Impressum / About Us