doc/src/Makefile annoyance

Поиск
Список
Период
Сортировка
Искать

doc/src/Makefile annoyance

От:
Tom 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: 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

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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



FAQ