Re: make dist does not work in VPATH

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: make dist does not work in VPATH
Дата
Msg-id 200808201855.50455.peter_e@gmx.net
обсуждение исходный текст
Ответ на make dist does not work in VPATH  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: make dist does not work in VPATH  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera wrote:
> It seems we're neglecting to copy GNUmakefile into the temporary
> distdir:

> make -C postgresql-8.3.3 distprep
> make[1]: entrant dans le répertoire «
> /home/alvherre/Code/CVS/pgsql/build/83_rel/postgresql-8.3.3 » make[1]: ***
> Pas de règle pour fabriquer la cible « distprep ». Arrêt. make[1]: quittant
> le répertoire « /home/alvherre/Code/CVS/pgsql/build/83_rel/postgresql-8.3.3
> » make: *** [distdir] Erreur 2

Hmm.  When you do an in-tree build, the distdir copy contains a configured 
source tree.  When you do an out-of-tree build, the distdir copy only the 
bare source tree, because the configure output files are in the build tree, 
which is not copied.

Fix option 1 would be to copy the build tree as well, if it is different from 
the source tree.  Since the build tree contains a bunch of symlinks back to 
the source tree, this would probably need some careful file handling to not 
overwrite the real files with symlinks or something like that.

Fix option 2 is to rerun configure before make distprep.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: A smaller default postgresql.conf
Следующее
От: Joshua Drake
Дата:
Сообщение: Re: A smaller default postgresql.conf