- define and use *_OPTS for the various sgmltools.
- acknowledge the existence of INSTALL_LIB_SCRIPTS.
# This file defines Make variables for the
# option flags for each utility program
#
-# $Id: opts.mk,v 1.8 1998/10/07 14:18:31 simonm Exp $
+# $Id: opts.mk,v 1.9 1999/02/02 14:16:28 sof Exp $
#
#################################################################################
$(EXTRA_MKDEPENDHS_OPTS)
MKDEPENDLIT_OPTS = $(SRC_MKDEPENDLIT_OPTS) $(WAY$(_way)_MKDEPENDLIT_OPTS) \
$(EXTRA_MKDEPENDLIT_OPTS)
+SGML2LATEX_OPTS = $(SRC_SGML2LATEX_OPTS) $(WAY$(_way)_SGML2LATEX_OPTS) $(EXTRA_SGML2LATEX_OPTS)
+SGML2INFO_OPTS = $(SRC_SGML2INFO_OPTS) $(WAY$(_way)_SGML2INFO_OPTS) $(EXTRA_INFO_OPTS)
+SGML2TXT_OPTS = $(SRC_SGML2TXT_OPTS) $(WAY$(_way)_SGML2TXT_OPTS) $(EXTRA_SGML2TXT_OPTS)
+SGML2HTML_OPTS = $(SRC_SGML2HTML_OPTS) $(WAY$(_way)_SGML2HTML_OPTS) $(EXTRA_SGML2HTML_OPTS)
UGEN_OPTS = $(SRC_UGEN_OPTS) $(WAY$(_way)_UGEN_OPTS) $(EXTRA_UGEN_OPTS)
UNLIT_OPTS = $(SRC_UNLIT_OPTS) $(WAY$(_way)_UNLIT_OPTS) $(EXTRA_UNLIT_OPTS)
YACC_OPTS = $(SRC_YACC_OPTS) $(WAY$(_way)_YACC_OPTS) $(EXTRA_YACC_OPTS)
%.tex : %.sgml
@$(RM) $@
- $(SGML2LATEX) -m --output=tex $<
+ $(SGML2LATEX) $(SGML2LATEX_OPTS) -m --output=tex $<
%.dvi : %.sgml
@$(RM) $@
- $(SGML2LATEX) -m --output=dvi $<
+ $(SGML2LATEX) $(SGML2LATEX_OPTS) -m --output=dvi $<
-%,ps : %.sgml
+%.ps : %.sgml
@$(RM) $@
- $(SGML2LATEX) -m --output=ps $<
+ $(SGML2LATEX) $(SGML2LATEX_OPTS) -m --output=ps $<
%.html : %.sgml
@$(RM) $@
- $(SGML2HTML) $<
+ $(SGML2HTML) $(SGML2HTML_OPTS) $<
%.info : %.sgml
@$(RM) $@
- $(SGML2INFO) $<
+ $(SGML2INFO) $(SGML2INFO_OPTS) $<
%.txt : %.sgml
@$(RM) $@
- $(SGML2TXT) $<
+ $(SGML2TXT) $(SGML2TXT_OPTS) $<
#-----------------------------------------------------------------------------
# Literate suffix rules
%.c : %.lc
@$(RM) $@
- $(UNLIT) $< $@
+ $(UNLIT) $(UNLIT_OPTS) $< $@
@chmod 444 $@
%.h : %.lh
@$(RM) $@
- $(UNLIT) $< $@
+ $(UNLIT) $(UNLIT_OPTS) $< $@
@chmod 444 $@
# For each of these variables that is defined, you
# get one install rule
#
-# INSTALL_PROGS executable programs in $(bindir)
-# INSTALL_SCRIPTS executable scripts in $(bindir)
-# INSTALL_LIBS platform-dependent libraries in $(libdir) (ranlib'ed)
-# INSTALL_LIBEXECS platform-dependent execs in $(libdir)
-# INSTALL_DATAS platform-independent files in $(datadir)
+# INSTALL_PROGS executable programs in $(bindir)
+# INSTALL_SCRIPTS executable scripts in $(bindir)
+# INSTALL_LIBS platform-dependent libraries in $(libdir) (ranlib'ed)
+# INSTALL_LIB_SCRIPTS platform-dependent scripts in $(libdir)
+# INSTALL_LIBEXECS platform-dependent execs in $(libdir)
+# INSTALL_DATAS platform-independent files in $(datadir)
#
# If the installation directory variable is undefined, the install rule simply
# emits a suitable error message.