Thread: doc/src/Makefile annoyance

doc/src/Makefile annoyance

From
Tom Lane
Date:
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: allmv -f *.$(ZIPSUFFIX) ..

or perhaps safer,

install: allmv -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


Re: doc/src/Makefile annoyance

From
Peter Eisentraut
Date:
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