summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Enforce out of source building in soft mode for cmake.Modestas Vainius2009-06-13
| | | | | | | | | Technically, cmake supports in source builds, they are simply not recommended. However, if the user insists and explicitly specifies the build directory that is equal to the source directory, allow this (aka soft mode). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Drop special handling for build directory ./path.Modestas Vainius2009-06-13
| | | | | | | | | Now build directory is always relative to the top directory (including default build directory) regardless what source directory is. However, if the build directory is not specified, it defaults to the source directory (aka in source building). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* Merge branch 'master' into buildsystemsJoey Hess2009-06-12
|\
| * clarify wording re source filesJoey Hess2009-06-12
| |
* | Merge branch 'master' into buildsystemsJoey Hess2009-06-12
|\ \ | |/ | | | | | | | | Conflicts: Debian/Debhelper/Dh_Getopt.pm debian/changelog
| * Allow command-specific options to be passed to commands via dh without ↵Joey Hess2009-06-12
| | | | | | | | causing other commands to emit a getopt warning or deprecation message.
* | shouldn't need undef hereJoey Hess2009-06-12
| |
* | Merge branch 'master' into buildsystemsJoey Hess2009-06-11
|\ \ | |/ | | | | | | Conflicts: debian/changelog
| * dh_gconf: Add missed half of postrm fragment removal. Closes: #531035Joey Hess2009-06-11
| |
| * releasing version 7.2.15Joey Hess2009-06-10
| |
| * dh_shlibdeps: run dpkg-shlibdeps on OCaml's *.cmxs filesJoey Hess2009-06-10
| |
| * dh_gconf: Remove postrm fragment that handled schema migration from /etc to ↵Joey Hess2009-05-29
| | | | | | | | /usr. Closes: #531035
| * clarifyJoey Hess2009-05-28
| |
| * dh_scrollkeeper: Now a deprecated no-op. Closes: #530806Joey Hess2009-05-27
| |
| * dh_compress: Avoid compressing .svg and .sgvz files, since these might be ↵Joey Hess2009-05-27
| | | | | | | | used as images on a html page, and also to avoid needing to special case the .svgz extention when compressing svg. Closes: #530253
| * dh_strip: Also strip OCaml shared libraries. (Stephane Glondu) Closes: #527272Joey Hess2009-05-18
| |
| * releasing version 7.2.14Joey Hess2009-05-18
| |
| * dh: Avoid writing log after override_dh_clean is run. Closes: #529228Joey Hess2009-05-18
| |
* | Ship Debian/Debhelper/Buildsystem/* in the package.Modestas Vainius2009-06-11
| | | | | | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Integrate buildsystem testsuite into the debhelper build system.Modestas Vainius2009-06-11
| | | | | | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Ensure make doesn't print directories when checking for target existance.Modestas Vainius2009-06-11
| | | | | | | | | | | | | | | | | | | | Whenever make is run with --print-directory option, make -C sometimes print Entering/Leaving directory messages to stdout even with -s in effects This breakes a check for target existance as it relies on make printing nothing when target does not do anything. Hence explicitly pass --no-print-directory to make to avoid it. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Add a test suite for build systems.Modestas Vainius2009-06-11
| | | | | | | | | | | | | | | | | | | | | | * Tests for core Buildsystem API (mostly path API). * Tests for check_auto_configure() for each buildsystem. * Build system autoselection tests under "typical" conditions for each buildsystem. * DH_AUTO_OPTIONS and command line argument parsing tests. * Real dh_auto_* tests for autoconf/makefile build systems with emulated. autoconf behaviour under in both in source and out of source tree scenarios. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Reorder load_buildsystem arguments and pass @_ through it.Modestas Vainius2009-06-11
| | | | | | | | | | | | | | | | * Reorder $system and $step arguments to match create_buildsystem_instance() order (less confusion). * Pass arbitrary @_ from load_buildsystem() to create_buildsystem_instance(). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Make perl_makemaker work properly when in source building is enforced.Modestas Vainius2009-06-11
| | | | | | | | | | | | | | | | | | | | | | This is backwards compatible (with << 7.3) until build, test and clean steps are not reimplemented in the backwards compatibility breaking way. However, this is absolutely necessary for enforce_in_source_building() to work in corner cases (when build directory is set) in build, test and clean steps as the next class (makefile) does not enforce it. makefile will fail as it will look for Makefile in the build directory rather than the source directory. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Get rid of is_buildable and build_step flags. Broken by design.Modestas Vainius2009-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Auto-setting is_buildable flag in base constructor was pointless and broken by design because: - is_buildable = check_auto_buildable() used to be called *before* constructor of the derivative class could call enforce_* methods. The result of check_auto_buildable() might change after calling enforce_* methods (in case check_auto_buildable() use get_buildpath() tests). - it isn't used widely. Refactor those a few places. * Due to above, 'build_step' does not need to be passed to the Buildsystem anymore. Remove it from code. * As a result of is_buidable removal, move warning of enforce_in_source_building() to pre_building_step(). It caused unnecessary noise when the object was constructed during test. It belongs to pre_building_step stage anyway. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Refactor build directory setting into separate method and solve a few bugs.Modestas Vainius2009-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | * Move setting of new build directory from constructor to _set_builddir() method including detection if directory (current or source) it should be relative to. * Even if a new build directory was specified, detect if it matches the source directory and unset it in such a case. * Use _set_builddir() in enforce_out_of_source_tree() methods. Previous implementation didn't handle default build directory properly (i.e. relativeness to current or source directory). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Remove empty build directory parent dirs (up to source directory) too.Modestas Vainius2009-06-11
| | | | | | | | | | | | | | When rmdir_building(), if build directory has 2 or more levels, empty parent dirs should also be deleted until source directory level. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Rename {pre,post}_step to {pre,post}_building_step.Modestas Vainius2009-06-11
| | | | | | | | Signed-off-by: Modestas Vainius <modestas@vainius.eu>
* | Include Debian/Debhelper subdirs in syntax check.Modestas Vainius2009-06-11
| |
* | autoconf uses a couple of Dh_Lib functions.Modestas Vainius2009-06-11
| |
* | Implement source directory switching support (Closes: #530597).Modestas Vainius2009-06-09
| | | | | | | | | | | | | | | | * New optional option --sourcedirectory/-d. * New Buildsystem API methods for getting source directory/path (since sourcedir may no longer be topdir), source 2 build directory convertions, doit_in_sourcedir() etc. * clean_builddir() -> rmdir_builddir() rename.
* | --list all buildsystems (including all 3rd party ones) dynamically.Modestas Vainius2009-06-08
| | | | | | | | | | | | | | | | | | * Implement a new sub in Dh_Buildsystems (load_all_buildsystems()) which dynamically tries to find all buildsystem class files in perl module directories (@INC) and clearly marks third party buildsystems as such. * Use this sub for listing buildsystems so now --list easily helps a user discover *all* buildsystem classes installed on his/her system clearly separating built-in ones from third party ones.
* | Improvements in DH_OPTIONS handling and DH_AUTO_OPTIONS envvar support.Modestas Vainius2009-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * DH_AUTO_OPTIONS is like existing DH_OPTIONS, just only for dh_auto stuff. This also avoids "explosion" of separate DH_AUTO_* environment variables (i.e. exports in debian/rules) and encourages usage of dh_auto command line option names. DH_AUTO_OPTIONS is passed via "extra_args" to Dh_Lib::init() (API addition). * When splitting options from DH_OPTIONS and its flavours, allow arguments to include whitespaces if they are escaped with backslash (\) (see split_options_string()). Document this in debhelper.pod. * Short option for --buildsystem is -c (aka class). * Provide API to cancel option specs from default debhelper options. It will be used in the feature.
* | Use term "out of source" rather than "outside source".Modestas Vainius2009-06-08
| | | | | | | | | | | | * "out of source" or "out of source tree" seems to be more popular term to describe building in the builddir. * Avoid using hyphens in both "out of source" and "in source" terms.
* | Use the term "build step" instead of "build action" everywhere in the source.Modestas Vainius2009-06-08
| | | | | | | | | | I'm going to use this new term in documentation. I have never liked "action" in this context, just couldn't think of anything better.
* | merge masterJoey Hess2009-05-14
|\ \ | |/
| * dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL. Closes: #528235Joey Hess2009-05-14
| |
* | Merge branch 'master' into buildsystemsJoey Hess2009-05-14
|\ \ | |/ | | | | | | | | Conflicts: debian/changelog dh_auto_configure
| * releasing version 7.2.12Joey Hess2009-05-14
| |
| * dh_auto_configure: Revert --skipdeps change Closes: #528647, reopens: #528235Joey Hess2009-05-14
| |
| * releasing version 7.2.11Joey Hess2009-05-12
| |
| * Support debian/foo.os files to suppliment previous debian/foo.arch file ↵Joey Hess2009-05-12
| | | | | | | | support. Closes: #494914 (Thanks, Aurelien Jarno)
* | Merge branch 'master' into buildsystemsJoey Hess2009-05-11
|\ \ | |/ | | | | | | Conflicts: dh_auto_configure
| * dh_auto_configure: Add --skipdeps when running Makefile.PL, to prevent ↵Joey Hess2009-05-11
| | | | | | | | Module::Install from trying to download dependencies. Closes: #528235
* | incorporate create_packlist=0 fix from masterJoey Hess2009-05-11
| |
* | Merge branch 'master' into buildsystemsJoey Hess2009-05-11
|\ \ | |/ | | | | | | | | Conflicts: debian/changelog dh_auto_configure
| * dh: Support --with addon,addon,... Closes: #528178Joey Hess2009-05-11
| |
| * releasing version 7.2.10Joey Hess2009-05-10
| |
| * dh_auto_configure: Pass packlist=0 when running Makefile.PL, in case it is a ↵Joey Hess2009-05-10
| | | | | | | | Build.PL passthru, to avoid it creating the .packlist file. Closes: #527990
| * mention quiltJoey Hess2009-05-08
| |