summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-30Support absolute paths for builddir.Modestas Vainius2-38/+60
If build directory is absolute or ../ path, _rel2rel falls back to absolute paths. Try even harder to convert supplied builddir to relative in _set_builddir(). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-30Add absolute path test for canonpath.Modestas Vainius1-1/+3
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-30Rename _canonpath to canonpath.Modestas Vainius3-10/+10
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-30Rename enforce_out_of_source_building() to prefer_Modestas Vainius4-12/+21
Also add enforce_out_of_source_building() for clarity which does not take any parameters. Now both have a clear name and no confusing parameter combinations. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-29Make dh not complain about unknown, command-specific options passed to itJoey Hess3-7/+25
and further suppress warnings about such options it passes on to debhelper commands. This was attempted incompletely before in version 7.2.17.
2009-06-29fix pod oopsJoey Hess2-4/+4
2009-06-29Merge branch 'master' into buildsystemsJoey Hess4-108/+96
Conflicts: debian/changelog
2009-06-29releasing version 7.2.187.2.18Joey Hess4-108/+96
2009-06-29misc minor changesJoey Hess9-17/+17
2009-06-28updatesJoey Hess1-2/+2
2009-06-28typoJoey Hess1-1/+1
2009-06-28clean up --sourcedir/--sourcedirectory conflictJoey Hess6-34/+40
* Move two move command-specific options to only be accepted by the commands that use them. The options are: --sourcedir, --destdir * If any third-party debhelper commands use either of the above options, they will be broken, and need to be changed to pass options to init(). This was done because of a conflict with the --sourcedirectory options used by dh_auto_*. I originally wanted to make dh_auto_* and dh_install both use --sourcedir, but that didn't work out.
2009-06-28Merge branch 'master' into buildsystemsJoey Hess2-8/+1
2009-06-28remove some dh_install stuffJoey Hess2-8/+1
2009-06-28add exampleJoey Hess1-0/+10
2009-06-28Merge branch 'master' into buildsystemsJoey Hess2-1/+8
Conflicts: dh_auto_install
2009-06-28dh_auto_install: Pass --install-layout=deb to setup.py to support python ↵Joey Hess2-0/+3
2.6. Closes: #534620
2009-06-28Merge branch 'master' into buildsystemsJoey Hess2-0/+12
Conflicts: debian/changelog
2009-06-28close another bugJoey Hess1-0/+3
2009-06-28dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps prints a ↵Joey Hess2-0/+12
confusing warning if it does not. Closes: #534226
2009-06-28Revert "Add --help-buildsystem option to dh_auto."Joey Hess2-56/+0
I'm unsure why we need this complication. Perl modules are allowed to install man pages documenting the module, if it really needs documentation. This reverts commit 49b64c7852744f54250121b1c60544e1f5de70b6.
2009-06-28minimal build system option documentationJoey Hess7-26/+98
2009-06-28Revert "Update dh_auto documentation."Joey Hess13-1398/+70
I'm reverting the documentation addition to try doing it myself, more simply and less verbosely. This reverts commit 962a2e10c930e3504ea1c0327be2fdf70d53023e. Conflicts: dh_auto.pod
2009-06-28Revert "Generate and install dh_auto docs when building debhelper."Joey Hess1-16/+3
I'm reverting the documentation addition to try doing it myself, more simply and less verbosely. This reverts commit 6ac4644330cb02384cf6c12a540cdc6b8e347170.
2009-06-28typoJoey Hess1-1/+1
2009-06-26Merge commit 'remotes/modestas/buildsystems' into buildsystemsJoey Hess3-6/+6
2009-06-26Merge branch 'master' into buildsystemsJoey Hess7-258/+229
Conflicts: debian/changelog
2009-06-26releasing version 7.2.177.2.17Joey Hess4-218/+216
2009-06-26dh_installinfo: No longer inserts install-info calls into maintainer scriptsJoey Hess4-40/+13
as that is now triggerized. Adds a dependency via misc:Depends to handle partial upgrades. Note that while dh_installinfo already required that info files had a INFO-DIR-SECTION, the new system also requires they have START-INFO-DIR-ENTRY and END-INFO-DIR-ENTRY for proper registration. I assume there will be some mass bug filing for any packages that do not have that. Closes: #528864
2009-06-21Terminology change.Modestas Vainius2-5/+5
I previously used "built-in debhelper build system" or "default debhelper build system" for those shipped with debhelper. Now it is "standard debhelper build system". Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-21Fix leftover from the old code.Modestas Vainius1-1/+1
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-18Generate and install dh_auto docs when building debhelper.Modestas Vainius1-3/+16
Since dh_auto_* PODs and dh_auto.pod contain placeholders and final versions are generated with the use of podselect, they are not directly translatable. However, the final postprocessed PODs (with man/dh_auto_pod) are translatable. So these temporary PODs are written to the man/ subdir and they could be added to po4a as needed. However, I do not add those PODs for translation in this commit (neither previous versions of dh_auto_* were there).
2009-06-18Update dh_auto documentation.Modestas Vainius13-70/+1398
* dh_auto.pod -> dh_auto.7 - contains general information about dh_auto, its features, build systems supported by default (the latter is injected by man/dh_auto_pod script from Debian/Debhelper/Buildsystem/*.pm PODs via placeholders (#PLACEHOLDER#)) * POD in Debian/Debhelper/Buildsystem/*.pm -> dh_auto_<buildsystem>.7 - build system specific information. * dh_auto_* -> dh_auto_*.1 - relatively shorty description of the specific dh_auto_* program and build system specific info for that step injected from Debian/Debhelper/Buildsystem/*.pm with man/dh_auto_pod script. * man/dh_auto_pod $step - generates full dh_auto_$step POD (replaces placeholders). * man/dh_auto_pod - generates full dh_auto.pod (replaces placeholders). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-18Do not explicitly repass env. variables {C,CXX,LD}FLAGS to cmake.Modestas Vainius1-3/+0
Apparently, cmake itself reads values of those environment variables and uses them accordingly. There is no need to repass them via -DCMAKE_{C,CXX,LD}_FLAGS. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-18Rewording in the comment.Modestas Vainius1-2/+2
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-18Less code in the build system classes to call enforce_out_of_source_building().Modestas Vainius4-11/+11
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-17Some cosmetic changes in the comments and strings.Modestas Vainius9-26/+26
* buildsystem -> build system * dh_auto build system -> debhelper build system * plugin -> class * a few rewording changes in the comments. * Enhance python_distutils::DESCRIPTION().
2009-06-17Add --help-buildsystem option to dh_auto.Modestas Vainius1-0/+51
Displays POD of the (auto)selected build system. It should be useful to get more information about third party build systems. Implementation uses perldoc whenever possible. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-17Fix typo in the --list option specification.Modestas Vainius1-1/+1
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-15First letter case fixes (should be lowercase) in error/warning messages.Modestas Vainius2-2/+2
2009-06-15Fix build directory handling in python_distutils build system.Modestas Vainius1-4/+63
* Apparently, Distutils does out of source tree building by default. * Default build directory is "$srcdir/build". * --build-base command line option is ineffective (some even fail) unless it is passed to the "build" command. However, if build-base is set in the config file, all setup.py commands use it (build, install and clean). That's a big flaw in Distutils design but it has been like this for a long time. Therefore write a custom distutils cfg file in the build directory to make build-base work. The best choice for config file path is $HOME/.pydistutils.cfg (one of the paths Distutils reads) and setting $HOME to the build directory. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-15Add "only if empty" flag to rmdir_builddir().Modestas Vainius1-4/+7
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-15Fix typo: missing $this.Modestas Vainius1-1/+1
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-13New short switches for buildsystem stuff, drop envvarsModestas Vainius2-20/+11
* New short switches: -D = --sourcedirectory -B = --builddirectory -S = --buildsystem * Drop DH_AUTO_BUILD* environment variables (reintroduced due to revert). * Adjust test suite. Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-13Revert "Improvements in DH_OPTIONS handling and DH_AUTO_OPTIONS envvar support."Modestas Vainius4-46/+20
This mostly reverts commit f897611a77726655aea258af0c4d52a8ce759ebc. Remaining cosmetic changes (all functional changes have been reverted): * Refactoring of option string into split_options_string() sub (no semantic changes though). * Cosmetic change in Dh_Buildsystems.pm. Breaks testsuite.
2009-06-13Use another root directory in _rel2rel.Modestas Vainius2-2/+5
Previous one caused test "_rel2rel no4" to fail. Also add a new test for _canonpath and two new tests for _rel2rel (related to "." handling). Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-06-13Enforce out of source building in soft mode for cmake.Modestas Vainius1-2/+3
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>
2009-06-13Drop special handling for build directory ./path.Modestas Vainius2-45/+34
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>
2009-06-12Merge branch 'master' into buildsystemsJoey Hess1-2/+3
2009-06-12clarify wording re source filesJoey Hess1-2/+3