monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone.source-tree-cleanup: 3e586a


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone.source-tree-cleanup: 3e586ac1c9520a9841d62050fbcab3157e70155f
Date: Wed, 2 Feb 2011 12:55:58 GMT

revision:            3e586ac1c9520a9841d62050fbcab3157e70155f
date:                2011-02-02T12:55:10
author:              address@hidden
branch:              net.venge.monotone.source-tree-cleanup
changelog:
doc/Makefile.am, doc/monotone.texi: delete monotonevars.texi; use -I and 
TEXINPUTS

manifest:
format_version "1"

new_manifest [7d77706da1874648328f33659ce7006f8a1a3a52]

old_revision [366ef5a5be156784430ea534efb2f9faa38112ee]

patch ".mtn-ignore"
 from [85ac39ba51773c60b2dc00fba683fe414bad7218]
   to [8866a2912c258bc9d6697c16d25d75fb3be971fc]

patch "doc/Makefile.am"
 from [a99a7cc6a26dcc476f80b65c64b4cdaeea006c70]
   to [a131eb49aec9e8316a27277c87b3fed857ca3732]

patch "doc/monotone.texi"
 from [ead09e29daabf7bc4bc3c8b2919371d69116b7ed]
   to [73e344eb1ba340193ab61f755d72979a29c58fde]
============================================================
--- doc/monotone.texi	ead09e29daabf7bc4bc3c8b2919371d69116b7ed
+++ doc/monotone.texi	73e344eb1ba340193ab61f755d72979a29c58fde
@@ -12,7 +12,6 @@
 
 @syncodeindex fn cp
 @include version.texi
address@hidden monotonevars.texi
 
 @dircategory Programming
 @direntry
@@ -13215,7 +13214,9 @@ @appendix Default hooks
 hooks files (unless @option{--no-builtin-rcfiles} is passed).  It contains the
 default values for all hooks. See @ref{rcfiles}.
 
address@hidden @value{top_srcdir}/src/std_hooks.lua
address@hidden note that this requires -I $(top_srcdir)/src on the makeinfo
address@hidden command line, and $(top_srcdir)/src in TEXINPUTS for texi2dvi
address@hidden std_hooks.lua
 
 @node General Index,  , Default hooks, Top
 @unnumbered General Index
============================================================
--- .mtn-ignore	85ac39ba51773c60b2dc00fba683fe414bad7218
+++ .mtn-ignore	8866a2912c258bc9d6697c16d25d75fb3be971fc
@@ -8,10 +8,13 @@
 ^config\.(guess|h(\.in)?|log|rpath|status|sub)$
 ^configure$
 ^depcomp$
+^doc/Makefile\.in$
+^doc/mdate-sh$
 ^doc/monotone\.info$
 ^doc/monotone\.info-1$
 ^doc/monotone\.info-2$
 ^doc/stamp-vti$
+^doc/texinfo\.tex$
 ^doc/version\.texi$
 ^html
 ^install-sh$
============================================================
--- doc/Makefile.am	a99a7cc6a26dcc476f80b65c64b4cdaeea006c70
+++ doc/Makefile.am	a131eb49aec9e8316a27277c87b3fed857ca3732
@@ -39,47 +39,25 @@ HTML_EXTRA_copied = $(addprefix $(abs_bu
 PNG_IMAGES_copied = $(addprefix $(abs_builddir)/,$(PNG_IMAGES))
 HTML_EXTRA_copied = $(addprefix $(abs_builddir)/,$(HTML_EXTRA))
 
-TEXI_VARS = monotonevars.texi
 TEXI_FRAGMENTS = pcrepattern.texi pcresyntax.texi
 
 CLEANFILES = $(EPS_FIGURES) $(PDF_FIGURES_copied) $(PNG_FIGURES_copied) \
-	$(PNG_IMAGES_copied) $(HTML_EXTRA_copied) $(TEXI_VARS)
+	$(PNG_IMAGES_copied) $(HTML_EXTRA_copied)
 
 info_TEXINFOS = monotone.texi
 
-monotone_TEXINFOS = ../src/std_hooks.lua $(TEXI_VARS) $(TEXI_FRAGMENTS)
+monotone_TEXINFOS = $(top_srcdir)/src/std_hooks.lua $(TEXI_FRAGMENTS)
 
 EXTRA_DIST = \
 	$(PDF_FIGURES) $(PNG_FIGURES) $(TEXI_FRAGMENTS)			\
 	figures/monotone-logo.svg figures/oo-figures.sxd	\
 	figures/pdfcrop.pl figures/README
 
-AM_MAKEINFOFLAGS= -I $(srcdir)
+AM_MAKEINFOFLAGS= -I $(top_srcdir)/src -I $(srcdir)
 
-AM_MAKEINFOHTMLFLAGS= -I $(srcdir) \
+AM_MAKEINFOHTMLFLAGS= -I $(top_srcdir)/src -I $(srcdir) \
 	--number-sections --no-split --no-headers --css-ref=texinfo.css
 
-monotonevars.texi: Makefile
-	rm -f monotonevars.texi
-	echo "@set top_srcdir $(top_srcdir)" >> monotonevars.texi
-	echo "@set top_builddir $(top_builddir)" >> monotonevars.texi
-
-## # Html and pdf dependencies are simply copied.
-## # All other are generated with the rules further down.
-## copy-html-deps: texinfo.css $(PNG_FIGURES) $(PNG_IMAGES)
-## 	for f in texinfo.css $(PNG_FIGURES) $(PNG_IMAGES); do \
-## 	    d=`dirname $$f`; \
-## 	    [ -d $$d ] || $(MKDIR_P) $$d && \
-## 		cmp -s $(srcdir)/$$f $(builddir)/$$f || \
-## 		    cp -v $(srcdir)/$$f $(builddir)/$$f; \
-## 	done
-
-#%.eps: %.epsi
-#	mv -f $< $@
-#
-#%.epsi: %.ps
-#	ps2epsi $< $@
-
 figures/%.eps: figures/%.ps
 	$(MKDIR_P) figures
 	ps2eps <$< >$@
@@ -105,7 +83,7 @@ $(abs_builddir)/texinfo.css: texinfo.css
 	cmp -s $< $@ || cp $< $@
 
 # Stealing code from automake and adapting, we want a HTML file tree as well
-AM_MAKEINFODOCHTMLFLAGS= -I $(srcdir) \
+AM_MAKEINFODOCHTMLFLAGS= -I $(top_srcdir)/src -I $(srcdir) \
 	--number-sections --css-ref=texinfo.css
 
 # Because automake already generates a html target that produces a single file
@@ -138,6 +116,13 @@ html-local: htmldir
 # a subdirectory.
 # Also note that we need to specify everything that automake would specify,
 # since what we write overrides what automake would otherwise produce.
+#
+# For the info and html targets, '@verbatiminclude std_hooks.lua'
+# works with -I $(top_srcdir)/src. However the dvi target requires
+# '$(top_srcdir)/src' in TEXINPUTS. We can't specify a per-target
+# variable for 'dvi', because that would override the automake
+# definition. So we just set TEXINPUTS globally.
+export TEXINPUTS := $(top_srcdir)/src:$(TEXINPUTS)
 monotone.dvi: monotone.texi $(srcdir)/version.texi $(monotone_TEXINFOS) \
 	$(EPS_FIGURES)
 monotone.pdf: monotone.texi $(srcdir)/version.texi $(monotone_TEXINFOS) \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]