---
name: "dh_make_pgxs"
section: "1"
platform: "linux"
package: "postgresql-common-dev"
version: "278"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_make_pgxs"
---

# dh\_make\_pgxs(1)

Create a new Debian source package for a PGXS PostgreSQL extension

## NAME

dh\_make\_pgxs - Create a new Debian source package for a PGXS PostgreSQL extension

## SYNOPSIS

**dh\_make\_pgxs** \[**-f**\] \[**-h** *URL*\] \[**-n** *name*\] \[**-v** *version*\]

## DESCRIPTION

**dh\_make\_pgxs** creates a *debian/* directory tree for PostgreSQL extension packages using the PGXS build system. The **pg\_buildext** tool is used for the build process.

## OPTIONS

- **-f**

  Overwrite existing files.

- **-h** *URL*

  Package upstream homepage.

- **-n** *name*

  Package name to use. Default is to extract it from the current directory's name.

- **-v** *version*

  Package version to use. Default is to extract it from the current directory's name.

## SEE ALSO

[**dh\_make**(1)](/dh_make/1.md), [**pg\_buildext**(1)](/pg_buildext/1.md).

## AUTHOR

Christoph Berg \<myon@debian.org\>
