---
name: "dh_germinate_clean"
section: "1"
platform: "linux"
package: "germinate"
version: "2.46"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_germinate_clean"
---

# dh\_germinate\_clean(1)

clean up files left by germinate-update-metapackage

## NAME

dh\_germinate\_clean - clean up files left by germinate-update-metapackage

## SYNOPSIS

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

## DESCRIPTION

dh\_germinate\_clean is a debhelper program that cleans up some files created by `"germinate-update-metapackage"` that are useful for debugging but that should not appear in source packages. It removes any `"*.old"` files that match defined seeds (as listed in the `"metapackage-map"` file by a previous run of `"germinate-update-metapackage"`), and the `"debootstrap-dir"` file.

## EXAMPLES

dh\_germinate\_clean is usually called indirectly in a rules file via the dh command.

```
        %:
                dh $@ --with germinate
```

You must build-depend on at least debhelper (\>= 7.0.8) to use this form, and in any case you must build-depend on at least germinate (\>= 1.18) to use this program at all.

It can also be called directly in the clean target at any time before dh\_clean.

```
        clean:
                dh_testdir
                dh_germinate_clean
                dh_clean
```

## SEE ALSO

[**debhelper**(7)](/debhelper/7.md), [**germinate-update-metapackage**(1)](/germinate-update-metapackage/1.md)

This program is a part of germinate.

## AUTHOR

Colin Watson \<cjwatson@ubuntu.com\>

Copyright (C) 2009 Canonical Ltd., licensed under the GNU GPL v2 or later.
