make dist does not include man.tar.gz and postgres.tar.gz - Mailing list pgsql-hackers

From Alvaro Herrera
Subject make dist does not include man.tar.gz and postgres.tar.gz
Date
Msg-id 20080902202415.GL12610@alvh.no-ip.org
Whole thread Raw
Responses Re: make dist does not include man.tar.gz and postgres.tar.gz  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@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.


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: Page layout footprint
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Make gram.y use palloc/pfree for memory management