Changeset: a3261de40663 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a3261de40663
Modified Files:
buildtools/autogen/autogen/am.py
buildtools/autogen/autogen/msc.py
buildtools/conf/rules.mk
configure.ag
Branch: Jul2012
Log Message:
Removed some unused code: we don't generate the documenation from .mx anymore.
diffs (159 lines):
diff --git a/buildtools/autogen/autogen/am.py b/buildtools/autogen/autogen/am.py
--- a/buildtools/autogen/autogen/am.py
+++ b/buildtools/autogen/autogen/am.py
@@ -445,45 +445,6 @@ def am_headers(fd, var, headers, am):
for src in headers['SOURCES']:
am['EXTRA_DIST'].append(src)
-def am_doc(fd, var, docmap, am):
- docdir = "pkgdatadir"
- if docmap.has_key("DIR"):
- docdir = docmap["DIR"][0] # use first name given
- docdir = am_translate_dir(docdir, am)
-
- name = var[4:]
- if name[0] == "_":
- name = name[1:]
-
- doc_ext = ['pdf', 'ps', 'bdy.tex', 'bdy.html', 'html']
-
- srcs = name+"_DOCS ="
- for target in docmap['TARGETS']:
- t, ext = split_filename(target)
- if ext in doc_ext:
- srcs = srcs + " " + target
- am['DocList'].append("\t%s/%s\n" % (docdir, target))
- fd.write(srcs + "\n")
-
- fd.write("if DOCTOOLS\n")
- fd.write("all-local-%s: $(%s_DOCS)\n" % (name, name))
- fd.write("install-data-local-%s: $(%s_DOCS)\n" % (name, name))
- fd.write("\t-mkdir -p $(DESTDIR)%s\n" % docdir)
- fd.write("\t$(INSTALL) $(%s_DOCS) $(DESTDIR)%s\n" % (name, docdir))
- fd.write("uninstall-local-%s: \n" % name)
- fd.write("\tcd $(DESTDIR)%s; $(RM) $(%s_DOCS)\n" % (docdir, name))
- fd.write("else\n")
- fd.write("all-local-%s: \n" % name)
- fd.write("install-data-local-%s: \n" % name)
- fd.write("uninstall-local-%s: \n" % name)
- fd.write("endif\n")
- am['ALL'].append(name)
- am['DATA_INSTALL'].append(name)
- am['UNINSTALL'].append(name)
-
- am_find_ins(am, docmap)
- am_deps(fd, docmap['DEPS'], am)
-
def am_normalize(name):
return name.replace('-', '_')
@@ -1176,7 +1137,6 @@ output_funcs = {'SUBDIRS': am_subdirs,
'LIB': am_library,
'BINS': am_bins,
'BIN': am_binary,
- 'DOC': am_doc,
'INCLUDES': am_includes,
'MTSAFE': am_mtsafe,
'SCRIPTS': am_scripts,
diff --git a/buildtools/autogen/autogen/msc.py
b/buildtools/autogen/autogen/msc.py
--- a/buildtools/autogen/autogen/msc.py
+++ b/buildtools/autogen/autogen/msc.py
@@ -486,9 +486,6 @@ def msc_headers(fd, var, headers, msc):
## msc_find_ins(msc, headers)
## msc_deps(fd, headers['DEPS'], "\.o", msc)
-def msc_doc(fd, var, docmap, msc):
- docmap['TARGETS']=[]
-
def msc_binary(fd, var, binmap, msc):
if type(binmap) == type([]):
@@ -1090,7 +1087,6 @@ output_funcs = {'SUBDIRS': msc_subdirs,
'LIB': msc_library,
'BINS': msc_bins,
'BIN': msc_binary,
- 'DOC': msc_doc,
'SCRIPTS': msc_scripts,
'INCLUDES': msc_includes,
'MTSAFE': msc_mtsafe,
diff --git a/buildtools/conf/rules.mk b/buildtools/conf/rules.mk
--- a/buildtools/conf/rules.mk
+++ b/buildtools/conf/rules.mk
@@ -19,7 +19,6 @@
CP=cp
MV=mv
-HIDE=1
MX = $(top_builddir)/buildtools/Mx/Mx
%.tab.c: %.y
@@ -70,41 +69,6 @@ MX = $(top_builddir)/buildtools/Mx/Mx
$(MX) $(MXFLAGS) -l -x sh $<
chmod a+x $@
-%.tex: %.mx
- $(MX) -1 -H$(HIDE) -t $<
-
-%.bdy.tex: %.mx
- $(MX) -1 -H$(HIDE) -t -B $<
-
-%.html: %.mx
- $(MX) -1 -H$(HIDE) -w $<
-
-%.bdy.html: %.mx
- $(MX) -1 -H$(HIDE) -w -B $<
-
-# if the .tex source file is found in srcdir (via VPATH), there might
-# be a '.' in the path, which latex2html doesn't like; hence, we
-# temporarly link the .tex file to the local build dir.
-%.html: %.tex
- if [ "$<" != "$(<F)" ] ; then $(LN_S) $< $(<F) ; fi
- $(LATEX2HTML) -split 0 -no_images -info 0 -no_subdir $(<F)
- if [ "$<" != "$(<F)" ] ; then $(RM) $(<F) ; fi
-
-%.pdf: %.tex
- $(PDFLATEX) $<
-
-%.dvi: %.tex
- $(LATEX) $<
-
-%.ps: %.dvi
- $(DVIPS) $< -o $@
-
-%.eps: %.fig
- $(FIG2DEV) -L$(FIG2DEV_EPS) -e $< > $@
-
-%.eps: %.feps
- $(CP) $< $@
-
SUFFIXES-local: $(BUILT_SOURCES)
ifdef DEB_BUILD_ARCH
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -1382,24 +1382,6 @@ case "$LEX" in
;;
esac
-AC_CHECK_PROG(TEXI2HTML,texi2html,texi2html)
-AC_CHECK_PROG(LATEX2HTML,latex2html,latex2html)
-AC_CHECK_PROG(LATEX,latex,latex)
-AC_CHECK_PROG(PDFLATEX,pdflatex,pdflatex)
-AC_CHECK_PROG(DVIPS,dvips,dvips)
-AC_CHECK_PROG(FIG2DEV,fig2dev,fig2dev)
-FIG2DEV_EPS=eps
-AC_MSG_CHECKING([$FIG2DEV postscript option])
-[ if test "$FIG2DEV"; then
- echo "" | $FIG2DEV -L$FIG2DEV_EPS 2>/dev/null
- if test $? -ne 0; then
- FIG2DEV_EPS=ps
- fi
-fi ]
-AC_MSG_RESULT($FIG2DEV_EPS)
-AC_SUBST(FIG2DEV_EPS)
-AM_CONDITIONAL(DOCTOOLS, test -n "$TEXI2HTML" -a -n "$LATEX2HTML" -a -n
"$LATEX" -a -n "$PDFLATEX" -a -n "$FIG2DEV" -a -n "$DVIPS")
-
INSTALL_BACKUP=""
AC_MSG_CHECKING([$INSTALL --backup option])
[ if test "$INSTALL"; then
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list