| Debian-Package-Make documentation | view source | Contained in the Debian-Package-Make distribution. |
Debian::Package::Make::TemplateDir - Perl extension for autobuilding Debian packages
template_dirThe 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.
new
template_dirCalls Debian::Package::Make::new() and sets the template_dir
attribute.
prepare_filesprepare_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.
Debian::Package::Make
Hilko Bengen, <bengen@debian.org>
Copyright (C) 2008 by Hilko Bengen
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
| Debian-Package-Make documentation | view source | Contained in the Debian-Package-Make distribution. |