Makefile an das neue Menue-Konzept angepasst
Absolute Angabe der Menue-Datei in relative umgewandelt
This commit is contained in:
parent
2eee0dfbe2
commit
a028ae2019
17 changed files with 31 additions and 54 deletions
3
Makefile
3
Makefile
|
@ -100,6 +100,9 @@ cd-template: verzeichnisstruktur
|
||||||
|
|
||||||
doku: cd-template
|
doku: cd-template
|
||||||
@echo "Aktualisiere das Doku-Verzeichnis ..."
|
@echo "Aktualisiere das Doku-Verzeichnis ..."
|
||||||
|
# aufgrund einer Seltsamkeit im doku-Makefile, muss es zweimal aufgerufen werden,
|
||||||
|
# wenn der online- zum offline-Status geaendert wird (und umgekehrt)
|
||||||
|
@make -C documents $(LINE_STATUS) install
|
||||||
@make -C documents $(LINE_STATUS) install
|
@make -C documents $(LINE_STATUS) install
|
||||||
|
|
||||||
setze_releaseinfos: cd-template
|
setze_releaseinfos: cd-template
|
||||||
|
|
|
@ -23,8 +23,7 @@ LATEX2HTMLPREFIX := -no_auto_link -split 0 -no_navigation -no_subdir -dir _outpu
|
||||||
.PHONY : clean online offline clean-targets install all
|
.PHONY : clean online offline clean-targets install all
|
||||||
|
|
||||||
# default target (offline)
|
# default target (offline)
|
||||||
all: $(HTML_FILES)
|
all: $(TARGET_FILES)
|
||||||
|
|
||||||
|
|
||||||
# copy the created files to the destination directory (usually outside of this directory tree)
|
# copy the created files to the destination directory (usually outside of this directory tree)
|
||||||
install: $(TARGET_FILES)
|
install: $(TARGET_FILES)
|
||||||
|
@ -45,16 +44,24 @@ clean-targets:
|
||||||
|
|
||||||
online: LINE_STATUS=online
|
online: LINE_STATUS=online
|
||||||
offline: LINE_STATUS=offline
|
offline: LINE_STATUS=offline
|
||||||
online offline: clean-targets $(TARGET_FILES)
|
|
||||||
|
# pruefen, ob die Menue-Datei durch eine neuere ersetzt werden muss - ansonsten: ignorieren
|
||||||
|
menue.lyx online offline: menue_$(LINE_STATUS).lyx
|
||||||
|
@if diff -qN menue.lyx menue_$(LINE_STATUS).lyx >/dev/null ;\
|
||||||
|
then true ;\
|
||||||
|
else cp menue_$(LINE_STATUS).lyx menue.lyx ;\
|
||||||
|
fi
|
||||||
|
|
||||||
|
online offline: $(TARGET_FILES)
|
||||||
|
|
||||||
|
|
||||||
# add headers, navigation and footers
|
# add headers, navigation and footers
|
||||||
$(TARGET_FILES): $(HTML_FILES) $(ASC_FILES)
|
$(TARGET_FILES): $(HTML_FILES) $(ASC_FILES)
|
||||||
cat nav.$(LINE_STATUS).asc $(notdir $(basename $@))/$(notdir $@) footer.asc >$@
|
cat $(notdir $(basename $@))/$(notdir $@) footer.asc >$@
|
||||||
|
|
||||||
|
|
||||||
# create tex files from lyx
|
# create tex files from lyx
|
||||||
$(TEX_FILES): %.tex: %.lyx
|
$(TEX_FILES): menue.lyx $(LYX_FILES)
|
||||||
lyx -e latex $*.lyx
|
lyx -e latex $*.lyx
|
||||||
|
|
||||||
|
|
||||||
|
@ -76,4 +83,5 @@ clean:
|
||||||
-rm -r _output 2>/dev/null
|
-rm -r _output 2>/dev/null
|
||||||
-rm $(foreach dir,$(DOCUMENT_NAMES),$(dir)/WARNINGS) 2>/dev/null
|
-rm $(foreach dir,$(DOCUMENT_NAMES),$(dir)/WARNINGS) 2>/dev/null
|
||||||
-rm $(foreach dir,$(DOCUMENT_NAMES),$(dir)/$(dir).emergency) 2>/dev/null
|
-rm $(foreach dir,$(DOCUMENT_NAMES),$(dir)/$(dir).emergency) 2>/dev/null
|
||||||
|
-rm menue.lyx menue.tex
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
#LyX 1.3 created this file. For more info see http://www.lyx.org/
|
|
||||||
\lyxformat 221
|
|
||||||
\textclass article
|
|
||||||
\begin_preamble
|
|
||||||
\usepackage{hyperref}
|
|
||||||
\usepackage{html}
|
|
||||||
\usepackage{german}
|
|
||||||
\end_preamble
|
|
||||||
\language ngerman
|
|
||||||
\inputencoding auto
|
|
||||||
\fontscheme default
|
|
||||||
\graphics default
|
|
||||||
\paperfontsize default
|
|
||||||
\spacing single
|
|
||||||
\papersize Default
|
|
||||||
\paperpackage a4
|
|
||||||
\use_geometry 0
|
|
||||||
\use_amsmath 0
|
|
||||||
\use_natbib 0
|
|
||||||
\use_numerical_citations 0
|
|
||||||
\paperorientation portrait
|
|
||||||
\secnumdepth 3
|
|
||||||
\tocdepth 3
|
|
||||||
\paragraph_separation indent
|
|
||||||
\defskip medskip
|
|
||||||
\quotes_language english
|
|
||||||
\quotes_times 2
|
|
||||||
\papercolumns 1
|
|
||||||
\papersides 1
|
|
||||||
\paperpagestyle default
|
|
||||||
|
|
||||||
\layout Standard
|
|
||||||
|
|
||||||
\the_end
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -93,7 +93,7 @@ rundum sicher
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
\begin_inset Include \input{/home/phil/daten/sao/svn/cryptocd/trunk/documents/menue.lyx}
|
\begin_inset Include \input{../menue.lyx}
|
||||||
preview false
|
preview false
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
Loading…
Reference in a new issue