make, tmpl/tex/de_technical, tmpl/tex/en_technical: Add __DOCUMENT_CLASS__ macro

This commit is contained in:
Jan Lindemann 2006-02-12 20:53:01 +00:00 committed by Jan Lindemann
commit dbb0af3551
5 changed files with 9 additions and 4 deletions

View file

@ -76,6 +76,10 @@ ALL = $(FMT_OUT) html_install
# $(GERFROMLINETMPL)) $(TEXFROMGER)
NEWDIRS = $(DISTDIR) $(HTMLDIR) $(DVIDIR)
ifeq ($(DOCUMENT_CLASS),)
DOCUMENT_CLASS = article
endif
define mangle_tmpl
@echo $< \-\> $@
@if [ $(suffix $@) = tex ]; then echo -e $(TEX_WARN_DONT_EDIT) > $@; fi
@ -96,6 +100,7 @@ define mangle_tmpl
s%__ICON_CONTENTS__%$(ICON_CONTENTS)%g; \
s%__ICON_PREV__%$(ICON_PREV)%g; \
s%__ICON_NEXT__%$(ICON_NEXT)%g; \
s%__DOCUMENT_CLASS__%$(DOCUMENT_CLASS)%g; \
s%ä%\"a%g; \
s%Ä%\"A%g; \
s%ö%\"o%g; \