[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: makefile patch.

From: <kfogel_at_collab.net>
Date: 2001-08-20 22:44:55 CEST

"C. Scott Ananian" <cananian@lesser-magoo.lcs.mit.edu> writes:
> OK, here's the fixed version of the 'make doc-*' patch. I added a
> 'doc-clean' target, while I was at it. I've tested this, and it does work
> with
> % mkdir BUILD
> % ../configure --enable-maintainer-mode --srcdir=..
> % make doc-pdf

Thanks, this has been needed for some time! Applied, with some minor
tweaks for consistency (see the commit for more).

Keep 'em coming...

-Karl, always happy to handle patches, but hoping people will
       understand somewhat slow response times from him and other
       committers this week, as most efforts are going to fixing the
       repository problems that are preventing self-hosting right
       now.

> Index: Makefile.in
> ===================================================================
> RCS file: /usr/local/tigris/data/helm/cvs/repository/subversion/Makefile.in,v
> retrieving revision 1.27
> diff -u -p -r1.27 Makefile.in
> --- Makefile.in 2001/08/15 00:23:24 1.27
> +++ Makefile.in 2001/08/20 19:34:48
> @@ -8,6 +8,8 @@ VPATH = @top_srcdir@
> SVN_RA_LIB_DEPS = @SVN_RA_LIB_DEPS@
> SVN_RA_LIB_LINK = @SVN_RA_LIB_LINK@
>
> +DOC_DIRS = doc/programmer/design doc/user/manual
> +
> EXTERNAL_PROJECT_DIRS = neon apr @DB_SUBDIR@
>
> SVN_APR_LIBS = @SVN_APR_LIBS@
> @@ -133,7 +135,7 @@ check: $(TEST_DEPS)
> fi
>
> mkdir-init:
> - @list='$(BUILD_DIRS)'; for i in $$list; do \
> + @list='$(BUILD_DIRS) $(DOC_DIRS)'; for i in $$list doc; do \
> echo "$(MKDIR) $$i" ; \
> $(MKDIR) $$i ; \
> done
> @@ -177,6 +179,15 @@ doc-html: doc/programmer/design/svn-desi
> doc-ps: doc/programmer/design/svn-design.ps doc/user/manual/svn-manual.ps
> doc-pdf: doc/programmer/design/svn-design.pdf doc/user/manual/svn-manual.pdf
>
> +doc-clean:
> + for f in doc/programmer/design/svn-design doc/user/manual/svn-manual;\
> + do \
> + rm -f $$f.info $$f.info-1 $$f.info-2 $$f.info-3 \
> + $$f.aux $$f.cp $$f.fn $$f.ky $$f.log $$f.pg $$f.toc \
> + $$f.tp $$f.vr \
> + $$f.dvi $$f.txt $$f.html $$f.ps $$f.pdf ;\
> + done
> +
> ### Build a tarball.
> dist:
> ./dist.sh
> @@ -200,16 +211,16 @@ dist:
>
> .texi.info:
> rm -f $@ $@-[0-9] $@-[0-9][0-9]
> - $(MAKEINFO) -I `dirname $(top_srcdir)/$<` -o $@ $<
> + $(MAKEINFO) -I `dirname $<` -o $@ $<
>
> .texi.dvi:
> - $(TEXI2DVI) -I `dirname $(top_srcdir)/$<` $<
> + wd=`pwd` ; cd `dirname $@` ; $(TEXI2DVI) -I `dirname $$wd/$<` $$wd/$<
>
> .texi.txt:
> - $(MAKEINFO) -I `dirname $(top_srcdir)/$<` --no-headers -o $@ $<
> + $(MAKEINFO) -I `dirname $<` --no-headers -o $@ $<
>
> .texi.html:
> - $(MAKEINFO) -I `dirname $(top_srcdir)/$<` --no-headers --html -o $@ $<
> + $(MAKEINFO) -I `dirname $<` --no-headers --html -o $@ $<
>
> .dvi.ps:
> $(DVIPS) $< -o $@
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:36 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.