Verweise auf "_bilder" korrigiert
"_output" wird nun per Makefile erzeugt -> mehr Uebersicht bei "svn status"
This commit is contained in:
parent
028a9d8571
commit
13f072ac20
7 changed files with 23 additions and 23 deletions
|
@ -1,5 +1,4 @@
|
|||
#DOCUMENT_NAMES=asymmetrie chaosradio copyleft intro mailserviceanbieter mozilla outlook pgp_vs_gnupg senselab thunderbird thunderbirdnutzung warumverschluesselung wiefunktionierts winpt
|
||||
DOCUMENT_NAMES=asymmetrie chaosradio copyleft intro mailserviceanbieter mozilla outlook pgp_vs_gnupg senselab wiefunktionierts
|
||||
DOCUMENT_NAMES=asymmetrie chaosradio copyleft intro mailserviceanbieter mozilla outlook pgp_vs_gnupg senselab thunderbird thunderbirdnutzung warumverschluesselung wiefunktionierts winpt
|
||||
|
||||
LYX_FILES := $(foreach dir,$(DOCUMENT_NAMES),$(dir)/$(dir).lyx)
|
||||
TEX_FILES := $(patsubst %.lyx,%.tex,$(LYX_FILES))
|
||||
|
@ -8,11 +7,10 @@ TARGET_FILES := $(foreach 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 -no_subdir -dir _output
|
||||
|
||||
|
||||
.PHONY : clean online offline clean-targets
|
||||
.PHONY : clean online offline clean-targets create-dirs install
|
||||
|
||||
# default target (offline)
|
||||
all: $(HTML_FILES)
|
||||
|
@ -23,6 +21,9 @@ install: $(TARGET_FILES)
|
|||
@[ ! -e "$(CCD_BUILD_DIR)/doku" ] && mkdir "$(CCD_BUILD_DIR)/doku"
|
||||
@cp _output/* "$(CCD_BUILD_DIR)/doku"
|
||||
|
||||
create-dirs:
|
||||
@[ ! -e "_output" ] && mkdir _output
|
||||
|
||||
clean-targets:
|
||||
-rm $(TARGET_FILES) 2>/dev/null
|
||||
|
||||
|
@ -38,9 +39,8 @@ $(TARGET_FILES): $(HTML_FILES) $(ASC_FILES)
|
|||
$(TEX_FILES): %.tex: %.lyx
|
||||
lyx -e latex $*.lyx
|
||||
|
||||
|
||||
# original html-files, as they are created by lyx
|
||||
$(HTML_FILES): %.html: %.tex
|
||||
$(HTML_FILES): create-dirs %.html: %.tex
|
||||
latex2html $(LATEX2HTMLPREFIX) $*.tex
|
||||
# die html-Datei wurde jetzt im _output-Verzeichnis erstellt (inklusive Bilder)
|
||||
-rm _output/WARNINGS $*-labels.pl $*-internals.pl 2>/dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue