dh-make-drupal

Langue: en

Autres versions - même langue

Version: 257065 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

dh-make-drupal - Builds a Debian package for the requested Drupal project

SYNOPSIS

dh-make-drupal [options] project_name

DESCRIPTION

The purpose of this program is to generate Debian packages for any Drupal projects (that is, modules or themes).

Given that Drupal developers publish their work through the main Drupal site (http://drupal.org), this program fetches the information for the latest available versions (for the right Drupal release, and with the specified stability level), and prepares a Debian package from it.

This Debian package can be locally installed using 'dpkg', or uploaded to your Apt repository.

Keep in mind that this package only goes as far as it can, being an automated tool. The generated packages will probably require verification/tweaking to be of production quality.

This program has been inspired -and named in a similar fashion to- Debian's pkg-perl group's dh-make-perl.

OPTIONS

-d, --drupal-version version
Drupal version
-r, --report-only
Check only for project availability, don't download or perform any other actions locally. Implies -D.
-f, --force
Proceed even if this will overwrite currently existing files
--debug level
Debug level for generated messages (0=highest, 5=lowest)
-s, --min-status
Minimum status to consider for packaging. Accepted values: 'recommended', 'supported', 'developer'. Defaults to recommended.
-D, --dont-debianize

 Do not attempt to debianize the project, only download the tarball
-b, --no-build
Prepare the debianized directory, but omit the actual package build process. This option is incompatible with either -D and -r.
--build-switches
Switches to pass to dpkg-buildpackage. Defaults to "-us -uc" (do not sign the generated package). In order not to give any switches, specify an empty quoted string (i.e. --build-switches='').
-t,--tarball tarball
Use the specified tarball as the original project tar.gz, don't look for any other available versions and don't download from the Drupal website. This will require you also to provide a project version number with -V and the project type with -T
-T, --proj-type projtype
Type of project we are packaging. This option is only meaningful when working on a local tarball (-t), and will be ignored otherwise. Accepted values: %s. Defaults to ModulesThemesTranslations.
-V, --proj-version version
Provide a project version number. This option is only meaningful when working on a local tarball (-t), and will be ignored otherwise
-v, --version
Displays application version
-h, --help
Displays help page

AUTHOR

AUTHOR: Gunnar Wolf COPYRIGHT (c) Gunnar Wolf <gwolf@gwolf.org>, IIEc-UNAM 2009