make dist does not work in VPATH

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: make dist does not work in VPATH
Date: 2008-08-20 14:15:36
Message-ID: 20080820141536.GF4169@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

It seems we're neglecting to copy GNUmakefile into the temporary
distdir:

$ pwd
/pgsql/build/83_rel
$ make dist
rm -rf postgresql-8.3.3* =install=
for x in `cd /pgsql/source/83_rel && find . -name CVS -prune -o -print`; do \
file=`expr X$x : 'X\./\(.*\)'`; \
if test -d "/pgsql/source/83_rel/$file" ; then \
mkdir "postgresql-8.3.3/$file" && chmod 777 "postgresql-8.3.3/$file"; \
else \
ln "/pgsql/source/83_rel/$file" "postgresql-8.3.3/$file" >/dev/null 2>&1 \
|| cp "/pgsql/source/83_rel/$file" "postgresql-8.3.3/$file"; \
fi || exit; \
done
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

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-08-20 14:18:23 Re: Patch: plan invalidation vs stored procedures
Previous Message Gregory Stark 2008-08-20 14:04:19 Volatile functions in subqueries don't prevent subqueries from being evaluated in initplans?