Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c96add9a
Commit
c96add9a
authored
Mar 20, 1999
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Script for preparing derived files during tarball construction.
parent
0aa2aed5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
+58
-0
src/tools/release_prep
src/tools/release_prep
+58
-0
No files found.
src/tools/release_prep
0 → 100755
View file @
c96add9a
#!/bin/sh
#
# release_prep: prepare the Postgres source tree for distribution
#
# This script should be run after checking out a fileset from the Postgres
# CVS repository, and just before creating a tarfile from the checked-out
# fileset. It does cleanup tasks to ensure that we have a good tarball.
#
# Run the script from the toplevel Postgres directory, ie, do
# cd pgsql
# src/tools/release_prep
# (Right now, the cleanup tasks are all in the src subdirectory, but we
# might want to add housekeeping in doc too?)
#
# The script's tasks are:
# 1. Run configure to prepare usable Makefiles on the local system.
# 2. Generate distribution copies of some derived files such as gram.c.
# (We do this so that recipients of the distribution don't have to have
# tools that can create these files.)
# Note we force these files to be recreated, to ensure they will have
# newer timestamps than their master files.
# 3. "make distclean" to get rid of the configure outputs, as well as any
# other cruft that might be laying about.
# Select make to use --- default gmake, can be overridden by env var
MAKE
=
${
MAKE
:-
gmake
}
cd
src
# Configure ... should we run autoconf here???
./configure
# Generate parser's gram and lex files.
cd
backend/parser
rm
-f
gram.c parse.h scan.c
$MAKE
gram.c parse.h scan.c
cd
../..
# Generate ecpg preprocessor's gram and lex files.
cd
interfaces/ecpg/preproc
rm
-f
preproc.c preproc.h pgc.c
$MAKE
preproc.c preproc.h pgc.c
cd
../../..
# Clean up
$MAKE
distclean
exit
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment