make dist does not include man.tar.gz and postgres.tar.gz

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Subject: make dist does not include man.tar.gz and postgres.tar.gz
Date: 2008-09-02 20:24:15
Message-ID: 20080902202415.GL12610@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Devrim has been trying to set up RPM files for 8.4devel. However, the
tarballs he is generating are not alike those found in our FTP site;
official ones include manpages and HTML docs as man.tar.gz and
postgres.tar.gz, but a simple "make dist" does not seem to include them.

I'm wondering how are these things supposed to be generated. Does Marc
create the regular tarballs using "make dist", and then unpack them and
include the other tarballs inside? Does he use a different make target?

One idea I suggested was running "make man.tar.gz postgres.tar.gz"
before "make dist", but that doesn't really work apparently. Here's
why:

[devrim(at)laptop pgsql]$ make dist
rm -rf postgresql-8.4devel* =install=
for x in `cd . && find . -name CVS -prune -o -print`; do \
file=`expr X$x : 'X\./\(.*\)'`; \
if test -d "./$file" ; then \
mkdir "postgresql-8.4devel/$file" && chmod 777 "postgresql-8.4devel/$file"; \
else \
ln "./$file" "postgresql-8.4devel/$file" >/dev/null 2>&1 \
|| cp "./$file" "postgresql-8.4devel/$file"; \
fi || exit; \
done
cp: cannot stat `./doc/src/sgml/CREATE': No such file or directory

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-09-02 20:43:13 Re: [PATCH] Make gram.y use palloc/pfree for memory management
Previous Message Zdenek Kotala 2008-09-02 19:21:24 Re: Page layout footprint