Debian::Package::Make::TemplateDir(3pm)

Debian::Package::Make::TemplateDir3pm

Perl extension for autobuilding debian packages

Overview

Attributes

"template_dir"

The directory from which "prepare_files" will fetch the templates. If "template_dir" is not set explicitly, it is derived from the program name and the name of the class.

Public interface

"new"
"template_dir"

Calls "Debian::Package::Make::new()" and sets the "template_dir" attribute.

"prepare_files"

"prepare_files" populates "$self-"{files}> using files from a template directory ("template_dir" parameter).

Files within this directory that end with .in are treated as templates that are processed using process_template.

Note: In order for "dpkg-buildpackage" to function correctly, debian/control, debian/changelog, debian/rules must be provided by the template dir.

Releases

Unchanged in 2 releases since Debian 5.0 (Lenny).

  1. 5.0–6.0

Bugs

* This module lacks documentation. For the time being, please refer to the scripts in the examples directory.

Author

Hilko Bengen, <[email protected]>

From libdebian-package-make-perl 0.04 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.