doc/src/Makefile annoyance

Started by Tom Laneabout 23 years ago2 messages
#1Tom Lane
tgl@sss.pgh.pa.us

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

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Tom Lane (#1)
Re: 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