minor constants cleanup

This commit is contained in:
Devin Reade 2012-09-05 00:04:10 -06:00
parent 71e01a0325
commit 61781097f0
3 changed files with 59 additions and 57 deletions

View File

@ -10,3 +10,6 @@ include $(SRCROOT)/etc/const.mk
-include $(SRCROOT)/etc/const-local.mk
include $(SRCROOT)/etc/rules.mk
clobber::
/bin/rm -rf $(OUTPUT_DIR)

View File

@ -1,3 +1,59 @@
#
# LATEX-specific constants
#
TEX_DVI = $(TEX_SRC_BASENAME).dvi
TEX_PS_LTR = $(WEB_HOME)/$(TEX_SRC_BASENAME).ltr.ps
TEX_PS_A4 = $(WEB_HOME)/$(TEX_SRC_BASENAME).a4.ps
TEX_PDF_LTR = $(WEB_HOME)/$(TEX_SRC_BASENAME).ltr.pdf
TEX_PDF_A4 = $(WEB_HOME)/$(TEX_SRC_BASENAME).a4.pdf
TEX_HTML = $(WEB_HOME)/$(TEX_SRC_BASENAME).html
# Build artifacts
TEX_GARBAGE = \
$(TEX_SRC_BASENAME).err \
$(TEX_SRC_BASENAME).aux \
$(TEX_SRC_BASENAME).log \
$(TEX_SRC_BASENAME).toc \
$(TEX_SRC_BASENAME).idx \
$(TEX_SRC_BASENAME).ilg \
$(TEX_SRC_BASENAME).ind \
$(TEX_SRC_BASENAME).out \
$(TEX_SRC_BASENAME).dvi
BIBTEX_GARBAGE = $(TEX_SRC_BASENAME).bbl $(TEX_SRC_BASENAME).blg
# Various latex-related paths
DVIPS = dvips
DVIPDF = dvipdfm
LATEX = latex
TEX2HTML = latex2html
MAKEINDEX = makeindex
BIBTEX = bibtex
# Varous latex-related variables
DVIPS_FLAGS =
LATEX_FLAGS =
#TEXINPUTS = ':/usr/local/lib/latex2html'
TEXINPUTS = ''
# This link will appear as the "up" link at the top page of of
# latex2html-generatd documents. You can override it in the local
# makefile if desired.
TEX_UP_URL = ../../refs.html
# This is the link name that will be displayed for the TEX_UP_URL, above.
# You can override it in the local makefile if desired.
TEX_UP_TITLE = GNO Documentation
# This one assumes that all latex-based documents are at the same directory
# depth in the filesystem. If one differs, you can override this in the
# local makefile.
TEX_FEEDBACK_URL = ../../feedback.html
# TEX_CONTACT will appear at the bottom of latex2html generated pages
#TEX_CONTACT = '$(NAME) <a href="mailto:$(ADDRESS)" title="GNO Documentation Feedback">&lt;$(ADDRESS)&gt;</a>'
TEX_CONTACT = '<a href="$(TEX_FEEDBACK_URL)" title="GNO Documentation Feedback">Feedback</a>'
# Additional flags get defined in tex-rules.mk and local makefiles.
TEX2HTML_FLAGS = -local_icons -address $(TEX_CONTACT)

View File

@ -63,62 +63,5 @@ BUILD_FILES = GNUmakefile $(HEAD_PAGE) $(TAIL_PAGE) \
$(SRCROOT)/etc/rules.mk \
$(SRCROOT)/etc/tailcat.mk
TEX_DVI = $(TEX_SRC_BASENAME).dvi
TEX_PS_LTR = $(WEB_HOME)/$(TEX_SRC_BASENAME).ltr.ps
TEX_PS_A4 = $(WEB_HOME)/$(TEX_SRC_BASENAME).a4.ps
TEX_PDF_LTR = $(WEB_HOME)/$(TEX_SRC_BASENAME).ltr.pdf
TEX_PDF_A4 = $(WEB_HOME)/$(TEX_SRC_BASENAME).a4.pdf
TEX_HTML = $(WEB_HOME)/$(TEX_SRC_BASENAME).html
# Build artifacts
TEX_GARBAGE = \
$(TEX_SRC_BASENAME).err \
$(TEX_SRC_BASENAME).aux \
$(TEX_SRC_BASENAME).log \
$(TEX_SRC_BASENAME).toc \
$(TEX_SRC_BASENAME).idx \
$(TEX_SRC_BASENAME).ilg \
$(TEX_SRC_BASENAME).ind \
$(TEX_SRC_BASENAME).out \
$(TEX_SRC_BASENAME).dvi
BIBTEX_GARBAGE = $(TEX_SRC_BASENAME).bbl $(TEX_SRC_BASENAME).blg
# Various latex-related paths
DVIPS = dvips
DVIPDF = dvipdfm
LATEX = latex
TEX2HTML = latex2html
MAKEINDEX = makeindex
BIBTEX = bibtex
# Varous latex-related variables
DVIPS_FLAGS =
LATEX_FLAGS =
#TEXINPUTS = ':/usr/local/lib/latex2html'
TEXINPUTS = ''
# This link will appear as the "up" link at the top page of of
# latex2html-generatd documents. You can override it in the local
# makefile if desired.
TEX_UP_URL = ../../refs.html
# This is the link name that will be displayed for the TEX_UP_URL, above.
# You can override it in the local makefile if desired.
TEX_UP_TITLE = GNO Documentation
# This one assumes that all latex-based documents are at the same directory
# depth in the filesystem. If one differs, you can override this in the
# local makefile.
TEX_FEEDBACK_URL = ../../feedback.html
# TEX_CONTACT will appear at the bottom of latex2html generated pages
#TEX_CONTACT = '$(NAME) <a href="mailto:$(ADDRESS)" title="GNO Documentation Feedback">&lt;$(ADDRESS)&gt;</a>'
TEX_CONTACT = '<a href="$(TEX_FEEDBACK_URL)" title="GNO Documentation Feedback">Feedback</a>'
# Additional flags get defined in tex-rules.mk and local makefiles.
TEX2HTML_FLAGS = -local_icons -address $(TEX_CONTACT)
# This is where the files will eventually wind up.
TARGET_DIR = $(GNO_PUBLIC_HTML)/$(WEB_HOME_BASE)