PG_BUILDEXT(1) Debian PostgreSQL infrastructure PG_BUILDEXT(1)NAME
pg_buildext - Build and install a PostgreSQL extension
pg_buildext action srcdir target opts
pg_buildext is a script that will build a PostgreSQL extension in a VPATH way. It supports the configure, build, install, and clean
actions, and will choose to build for the intersection of versions known in debian/pgversions (versions supported by the package) and in
/usr/share/postgresql-common/supported-versions (versions supported in this release).
One of configure, build, install, or clean.
Where to find the extension sources, including the debian subdirectory. (Usually $(CURDIR).) If not specified, defaults to the current
The target directory where to build the sources, it will get created for you if it does not exist. If the target contains a %v sign, it
will get replaced by the specific version of PostgreSQL being built against. (Usually build-%v.)
%v signs in opts will get replaced as in target.
Options to pass to the configure script. (Most PostgreSQL extensions do not have a configure script.)
Custom CFLAGS options to use for the build.
Package name to install for. Make will be called with DESTDIR="srcdir/debian/package".
clean does not take extra options.
As pg_buildext invokes make for the build, install, and clean actions, invocations from debian/rules (which is a makefile) should be
prefixed with + so the sub-makes can talk with the make jobserver.
+pg_buildext configure $(CURDIR) build-%v "--libdir=/usr/lib/postgresql/%v/lib --datadir=/usr/share/postgresql-%v-plsh"
+pg_buildext build $(CURDIR) build-%v
+pg_buildext install $(CURDIR) build-%v postgresql-%v-plsh
+pg_buildext clean $(CURDIR) build-%v
Dimitri Fontaine <email@example.com>, with extensions by Christoph Berg <firstname.lastname@example.org>.
Debian 2012-10-08 PG_BUILDEXT(1)
Check Out this Related Man Page
DH_CLEAN(1) Debhelper DH_CLEAN(1)NAME
dh_clean - clean up package build directories
dh_clean [debhelperoptions] [-k] [-d] [-Xitem] [file...]
dh_clean is a debhelper program that is responsible for cleaning up after a package is built. It removes the package build directories, and
removes some other files including debian/files, and any detritus left behind by other debhelper commands. It also removes common files
that should not appear in a Debian diff:
#*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp
It does not run "make clean" to clean up after the build process. Use dh_auto_clean(1) to do things like that.
dh_clean (or "dh clean") should be the last debhelper command run in the clean target in debian/rules.
Can list other files to be removed.
OPTIONS -k, --keep
This is deprecated, use dh_prep(1) instead.
Only clean the package build directories, do not clean up any other files at all.
Exclude files that contain item anywhere in their filename from being deleted, even if they would normally be deleted. You may use this
option multiple times to build up a list of things to exclude.
Delete these files too.
SEE ALSO debhelper(7)
This program is a part of debhelper.
Joey Hess <email@example.com>
9.20120909 2011-10-19 DH_CLEAN(1)
I have a problem i'm a newbie with Redhat , in other word i dont know much about it.
I just did a clean install and i'm trying to fto the box from a Xp computer ,
The error i'm getting is "ftp: connect : Unknown error number"
O know that i need to edit some files ir... (5 Replies)
I'm trying to install gcc from hp with swinstall but what happens is the following:
I change source to the correct depot, it complains it can't find anything, when I change target to /usr/local, it shows the depot in the list. Next, I mark it for install, install it, but then it gets installed... (4 Replies)
I want to cheaply build my own PC that will run the latest versions of Linspire, Fedora Core, FreeBSD and Solaris, but I don't know where to start.
This PC doesn't have to be particulary fast. It's video performance need not be top notch, however, sound quality and sound performance must rock!... (4 Replies)
I need to install the GCC compiler on a my Linus machine.
First step is to run the ./configure command and here we need to specify
./configure --target="target machine name (CPU type-Manufacturer-OS)
or other way would be just give the command ./configure and it guesses the target name... (11 Replies)
Basically, I'm trying to install this program called MAQ.
Maq User's Manual
I've downloaded it and I tried to type in $ ./configure; make; make install
but the ouput I got was this:
bash: ./configure: No such file or directory
make: Entering directory `/home/vlay/bwa-0.5.0'
make:... (8 Replies)
I am working on an application with some rather interesting build performance issues. If we build on Solaris/Linux x86/AMD64 the build is rather fast, but it takes more than five times as long on our Solaris Sparc servers (single-threaded builds on the workstations, but multi-threaded on the... (5 Replies)
Hi, I am new to linux and have a challenge while I am debugging my application logs n linux boxes.
our log file xxx.log will have different responses coming in its way while an user logs in. Each response might be of 2000 lines or more. Many users do login at a time and our log file goes big... (24 Replies)
I have a SLES 11(SP1) server that I am trying to install graphviz 2.28 on. Unfortunately that is not a comman combination, so I can't just use an RPM to install it, I have to build it from source. When doing so, when I configure it, I can't get it to recognize that pangocairo is actually... (4 Replies)
I am trying to install Dmalloc 5.5.2 on AIX 5.3
While installing it both :sh ./configure and make run without errors. Then the command: make install finishes like this:
./mkinstalldirs: not found
make: The error code from the last command is 1... (8 Replies)
Hi, I am using CENTOS and for now, I am not able to install or to configure the istat command on Linux. So, is there a way to do the same that the shell is doing below, but not using istat command? I would appreciate any help on it.
... (10 Replies)
I'm trying to rewrite the install procedure of TUI, applying the standards of the Autotools.
unix - Why always ./configure; make; make install; as 3 seperate steps? - Stack Overflow
autoconf automake tutorial
... (4 Replies)
I am trying to decode "configure" script for "bluez" package as far as how are "configure" options for cross-compiling passed to libtoool or GCC to build C++ library.
As far as I can tell the "configure" triplet analysis (case) has no options to analyze anything with "linux" in it ,therefore... (5 Replies)
"Debian 9 64x - LXDE"
I try to create an install script in bash. Lets assume i want to install samba.
I call from the mainscript the install script for samba \folder\samba.sh.
The script samba.sh should get executed in a new terminal window, so i can watch for install errors.
The... (13 Replies)