summaryrefslogtreecommitdiff
path: root/dh_auto_install
Commit message (Collapse)AuthorAge
* Modular object-orientied buildsystem implementation (try 2).Modestas Vainius2009-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major changess: * Dh_Buildsystem_Option dropped and Dh_Buildsystem_Chdir functionality partitially merged into Dh_Buildsystem_Basic. Dh_Buildsystem_Bases.pm renamed to Dh_Buildsystem_Basic.pm to match classname. * *_impl() ditched completely. Previous {configure,build,test,install,clean}_impl() renamed to just configure(), build(), test(), install(), clean() instead. Added pre_action($action) and post_action($action) hooks instead which are called by Dh_Buildsystems::buildsystems_do(). * Builddir is handled via mkdir_builddir(), doit_in_buildddir(), clean_builddir() methods which buildsystems should call directly. Removed get_top* method, added get_rel2builddir_path(). * is_buildable() method renamed to is_auto_buildable() to reflect its purpose more. * ::perl_makefile renamed to ::perl_makemaker and which is based on ::makefile now. MakeMaker hack moved from ::makefile to ::perl_makemaker where it belongs (thanks for the tip). * Dh_Buildsystems refactored into a simple perl module rather than OO class and simplified a bit. * @BUILDSYSTEMS and is_auto_buildable() modified to 100% match historical order. TODO: user documentation (e.g. DH_AUTO_BUILDDIRECTORY and DH_AUTO_BUILDSYSTEM environment variables and common dh_auto_* options (--buildsystem and --builddirectory)). Current plugin inheritance hierarchy is like this: Buildsystem::perl_build -> Dh_Buildsystem_Basic <- Buildsystem::python_distutils ^ | Buildsystem::makefile <- Buildsystem::perl_makemaker ^ ^ ^ / | \ Buildsystem::autotools Buildsystem::cmake Buildsystem::python_distutils Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Migrates dh_auto_* commands to Dh_Buildsystems.pmModestas Vainius2009-04-10
| | | | | | | | | This patch switches dh_auto_* commands to use Dh_Buildsystems.pm module. Most of them became very minimal by design. Documentation has not been updated with new features yet. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Set MODULEBUILDRC environment variableAnsgar Burchardt2009-03-09
| | | | | | | | | | | | | | | When building packages using Module::Build and a ~/.modulebuildrc containing install install_base=~ the build will end up installing files in /root. This patch makes debhelper export MODULEBUILDRC="/dev/null" whenever Module::Build is used to avoid using ~/.modulebuildrc. Closes: #517423 Signed-off-by: Ansgar Burchardt <ansgar@43-1.org>
* dh_auto_install: Improve check for MakeMaker, to avoid passing PREFIX if the ↵Joey Hess2008-08-22
| | | | Makefile was generated by Module::Build::Compat. Closes: #496157
* typosJoey Hess2008-07-31
|
* dh_auto_install: Still contained copy&paste doc from dh_auto_cleanFrank Lichtenheld2008-07-31
| | | | | 740128be21fda69c6ee4653f7dd13bd707aec39e didn't get all the leftovers.
* dh_auto_install: Fix man page, was referring to dh_auto_clean.Per Olofsson2008-07-23
|
* dh_auto_install: Rather than looking at the number of binary packages being ↵Joey Hess2008-06-25
| | | | acted on, look at the total number of binary packages in the source package when deciding whether to install to debian/package or debian/tmp. This avoids inconsistencies when building mixed arch all+any packages using the binary-indep and binary-arch targets. Closes: #487938
* type fixJoey Hess2008-05-19
|
* dh_auto_*: Also support packages using Module::Build.Joey Hess2008-04-24
| | | | | * dh_auto_*: Also support packages using Module::Build. * dh_auto_*: Fix some calls to setup.py.
* new method to tell if a makefile contains a targetJoey Hess2008-04-23
|
* dh_auto_install: New program, automates running make install, or using ↵Joey Hess2008-04-23
setup.py to install. Supports the PREFIX=/usr special case needed by MakeMaker Makefiles. (Support for cmake and other build systems planned but not yet implemented.)