Source

w3 / texi / Makefile.in

srcdir  = @srcdir@
prefix  = @prefix@
infodir = @infodir@
top_srcdir = @top_srcdir@

VPATH     = $(srcdir)
EMACS     = @EMACS@
INSTALL   = @INSTALL@
RM        = rm -f
MAKEINFO  = @MAKEINFO@
TEXI2HTML = @TEXI2HTML@
TEXI2HTML_FLAGS = @TEXI2HTML_FLAGS@
INSTALLINFO = @INSTALLINFO@
DVIPS     = dvips

.SUFFIXES: .txi .dvi .info .html

%.txi: %.txi,v
	co -q $@

%.html: %.txi
	$(TEXI2HTML) $(TEXI2HTML_FLAGS) $<

%.dvi: %.txi
	$(TEXI2DVI) $(TEXI2DVI_FLAGS) $<
	$(RM) 	$(*).cp  $(*).fn  $(*).ky  $(*).pg  $(*).tp  $(*).vr 	\
		$(*).cps $(*).fns $(*).kys $(*).pgs $(*).tps $(*).vrs	\
		$(*).log $(*).toc $(*).aux

%.ps: %.dvi
	$(DVIPS) -o $@ $<

%.info: %.txi
#	$(EMACS) -batch -q -no-site-file -eval '(find-file "$<")' -l texinfmt -f texinfo-every-node-update -f save-buffer
	$(MAKEINFO) $<

MANUALS=w3.txi w3-faq.txi

all: info dvi

install:
	( if [ ! -d $(infodir) ]; then mkdir -p $(infodir); fi )
	for x in *.info*; do $(INSTALL) $$x $(infodir); done
	-for x in *.info; do $(INSTALLINFO) $$x $(infodir)/dir; done

distclean: clean
	$(RM) Makefile

clean:
	$(RM) *.dvi *.info* *.html *.ps

dvi: $(MANUALS:.txi=.dvi)

info: $(MANUALS:.txi=.info)

html: $(MANUALS:.txi=.html)

ps: $(MANUALS:.txi=.ps)

version: $(MANUALS) descrip.mms clean
	test -d $(DIRNAME)/texi || mkdir -p $(DIRNAME)/texi
	$(MAKE) info
	for x in descrip.mms $(MANUALS) *info* Makefile.in; do $(INSTALL) -m 644 $$x $(DIRNAME)/texi; done

# Automatic makefile rebuilding, etc.
Makefile: $(srcdir)/Makefile.in ../config.status
	(cd .. ; CONFIG_FILES=texi/Makefile ./config.status)

$(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
	cd $(top_srcdir) && autoreconf

../config.status: $(top_srcdir)/configure
	cd .. && ./config.status --recheck
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.