Anyone know why the install target in doc/src/Makefile is coded like
this:

install:
	$(MAKE) all
	(mv -f *.$(ZIPSUFFIX) ..)

and not the more conventional

install: all
	mv -f *.$(ZIPSUFFIX) ..

or perhaps safer,

install: all
	mv -f $(TARGETS) ..

I just typed "make all", waited a good long while, typed "make install",
and was seriously annoyed to watch it "make clean" and start the docs
build *again*.  This behavior is broken IMHO.

			regards, tom lane

Thu, 28 Nov 2002 18:29:58 -0500
Tom Lane <tgl@sss.pgh.pa.us>
doc/src/Makefile annoyance
Tom Lane writes:

> Anyone know why the install target in doc/src/Makefile is coded like
> this:
>
> install:
> 	$(MAKE) all
> 	(mv -f *.$(ZIPSUFFIX) ..)

Legacy.  Note also that "install" doesn't do here what it usually does.
Feel free to make adjustments.

-- 
Peter Eisentraut   peter_e@gmx.net



Sat, 30 Nov 2002 01:17:02 +0100 (CET)
Peter Eisentraut <peter_e@gmx.net>
Re: doc/src/Makefile annoyance