---
name: "dh_octave_clean"
section: "1"
platform: "linux"
package: "dh-octave"
version: "1.8.0"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_octave_clean"
---

# dh\_octave\_clean(1)

clean files from Octave-Forge package build

## NAME

dh\_octave\_clean - clean files from Octave-Forge package build

## SYNOPSIS

**dh\_octave\_clean** \[*debhelper options*\]

## DESCRIPTION

**dh\_octave\_clean** cleans files generated by the building of an Octave-Forge package.  It cleans files *global-list* and *local-list* created automatically.

It also cleans any *inst/\*-api-v\**, *src/\*.o*, *src/\*.oct* and *src/\*-tst* files left over by the build process.

Finally, it runs both **make clean** and **make distclean** in both the top-level and the *src* directory, if it exists, in order to do further cleaning.

## SEE ALSO

[**debhelper**(7)](/debhelper/7.md), [**dh**(1)](/dh/1.md), [**dh\_octave\_substvar**(1)](/dh_octave_substvar/1.md), [**dh\_octave\_check**(1)](/dh_octave_check/1.md), [**dh\_octave\_version**(1)](/dh_octave_version/1.md), [**dh\_octave\_changelogs**(1)](/dh_octave_changelogs/1.md), [**dh\_octave\_examples**(1)](/dh_octave_examples/1.md)

This program is meant to be used together with debhelper for Debian packages derived from Octave-Forge packages. It is part of the Debhelper octave build system, enabled by the --buildsystem option to dh\_auto\_clean (or globally). It is NOT enabled by the dh sequence provided by the same package.

## AUTHOR

Rafael Laboissière \<rafael@debian.org\>
