From 62c34ca8366f79fe3cc9e66da6a98d01e72d5ade Mon Sep 17 00:00:00 2001 From: lars Date: Sun, 24 Apr 2005 00:20:04 +0000 Subject: [PATCH] auspobieren --- documents/Makefile | 49 +++++++++++++++++++++++++++++++++++++++ documents/footer.asc | 32 +++++++++++++++++++++++++ documents/header.asc | 9 +++++++ documents/nav.asc.offline | 34 +++++++++++++++++++++++++++ documents/nav.asc.online | 34 +++++++++++++++++++++++++++ 5 files changed, 158 insertions(+) create mode 100644 documents/Makefile create mode 100644 documents/footer.asc create mode 100644 documents/header.asc create mode 100644 documents/nav.asc.offline create mode 100644 documents/nav.asc.online diff --git a/documents/Makefile b/documents/Makefile new file mode 100644 index 0000000..2dac9ae --- /dev/null +++ b/documents/Makefile @@ -0,0 +1,49 @@ +DOCUMENT_NAMES="asymmetrie chaosradio copyleft intro mailserviceanbieter mozilla outlook pgp_vs_gpg senselab thunderbird thunderbirdnutzung warumverschluesselung wiefunktionierts winpt" + +LYX_FILES := $(foreach dir,$(DOCUMENT_NAMES),$(dir)/$(dir).lyx) +TEX_FILES := $(patsubst %.lyx,%.tex.$(LYX_FILES)) +HTML_FILES := $(patsubst %.lyx,%.html.$(LYX_FILES)) +TARGET_FILES := $(forecho dir,$(DOCUMENT_NAMES),_output/$(dir).html) + +ASC_FILES := $(wildcard *.asc) + +LINE_STATUS = offline + +#LATEX2HTMLPREFIX := -no_auto_link -split 0 -init_file ../../convert-scripts/latex2html-init -no_navigation -no_subdir +LATEX2HTMLPREFIX := -no_auto_link -split 0 -no_navigation -dir _output + + +.PHONY : clean install-online install-offline + + +# default target (offline) +all: $(HTML_FILES) + + +install-%: LINE_STATUS=% + +online offline: $(HTML_FILE) $(ASC_FILES) + +$(TARGET_FILES): _output/%.html: %/%.html $(ASC_FILES) + cat header.asc nav.asc.$(LINE_STATUS) footer.nav >$@ + + +# create tex files from lyx +$(TEX_FILES): %.tex: %.lyx + lyx -e latex $*.lyx + + +# original html-files, as they are created by lyx +$(HTML_FILES): %/*.tex: % + latex2html $(LATEX2HTMLPREFIX) $*/$*.tex + -rm WARNINGS $*/$*-labels.pl $*/$*-internals.pl $*/$*.css 2>/dev/null + python ../../convert-scripts/mod_html_files.py $@ + + +clean: + -rm WARNINGS 2>/dev/null + -rm $(TEX_FILES) 2>/dev/null + -rm $(HTML_FILES) 2>/dev/null + -rm _output/* 2>/dev/null + -rm */*.emergency + diff --git a/documents/footer.asc b/documents/footer.asc new file mode 100644 index 0000000..9543dc4 --- /dev/null +++ b/documents/footer.asc @@ -0,0 +1,32 @@ +
+CryptoCD v1.1.1 - die aktuelle Version findest du unter: http://eduforge.org/wiki/wiki/cryptocd

+Creative Commons
+Falls du die CD weitergeben willst, dann lies diese Seite. + + +
+ + + diff --git a/documents/header.asc b/documents/header.asc new file mode 100644 index 0000000..6ef6bd7 --- /dev/null +++ b/documents/header.asc @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/documents/nav.asc.offline b/documents/nav.asc.offline new file mode 100644 index 0000000..598c0bb --- /dev/null +++ b/documents/nav.asc.offline @@ -0,0 +1,34 @@ + diff --git a/documents/nav.asc.online b/documents/nav.asc.online new file mode 100644 index 0000000..b381d8b --- /dev/null +++ b/documents/nav.asc.online @@ -0,0 +1,34 @@ +