summaryrefslogtreecommitdiff
path: root/debian/rules
AgeCommit message (Collapse)AuthorFilesLines
2019-09-01d/rules: Use dh_missing's --fail-missing optionSven Joachim1-0/+3
With files split across multiple packages, it is easy to inadvertently miss one or several of them, so catch that mistake.
2019-09-01Split off a libdebhelper-perl binary packageSven Joachim1-2/+2
This makes it possible for debhelper adddon packages to depend on it rather than on debhelper, breaking the circular dependencies between debhelper and dh-autoreconf/dh-strip-nondeterminism. The autoscripts are used by the autoscript routine in Dh_Lib.pm, so I decided to put those into libdebhelper-perl as well. Closes: #821130
2018-02-24Generate Provides field automaticallyNiels Thykier1-0/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-10-28Cleanup trailing whitespace in debian/rulesAxel Beckert1-1/+1
Signed-off-by: Axel Beckert <abe@deuxchevaux.org>
2017-07-03d/rules: Let tests run in parallelNiels Thykier1-4/+0
Signed-off-by: Niels Thykier <niels@thykier.net>
2017-04-10d/rules: --no-parallel is only needed for dh_auto_testNiels Thykier1-2/+5
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-22Make the build-stamp optional via a build-stamp sequenceNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Release debhelper/10.2.1 into unstableNiels Thykier1-1/+1
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Make sure all files are installed into the debhelper binary packageMichael Biebl1-0/+3
Now that we are building more then one binary package, dh_auto_install no longer uses debian/debhelper by default. Since the transitional dh-systemd package is supposed to be empty, override dh_auto_install and set --destdir=debian/debhelper to make sure all files end up in the debhelper binary package. Signed-off-by: Niels Thykier <niels@thykier.net>
2016-04-02RUn dh-autoreconf seq. by default in compat 10Niels Thykier1-1/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-04-02dh,d/rules: Use override targets to avoid B-DsNiels Thykier1-0/+4
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-03-05d/rules: Pass --no-parallel to dh due to the test suiteNiels Thykier1-1/+3
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-03d/rules: Remove announcedir targetNiels Thykier1-4/+0
Signed-off-by: Niels Thykier <niels@thykier.net>
2009-02-19remove -B from examples for nowJoey Hess1-1/+1
There is some concern that passing -B to make may violate debian policy. <eyeroll>
2009-02-17make dh override_dh_* a no-opJoey Hess1-2/+1
This happens if the override target is completly empty. Make sees it is, and runs the implicit dh target.
2009-02-17dh: Support debian/rules calling make with -BJoey Hess1-1/+3
That is useful to avoid issues with phony implicit rules (see bug #509756). Apparently make treats the name of the Makfile as an automaticall set up target, so this causes it to try to build the Makefile even though it's up-to-date, and the implicit target makes it run 'dh debian/rules'. So, make that a no-op.
2008-04-23dh is fully working and is being used to build debhelperJoey Hess1-0/+3
2008-04-23dh is now workingJoey Hess1-33/+2
And debian/rules uses it. Sweet!
2008-04-23missed oneJoey Hess1-0/+1
2008-04-23Add a Makefile and simplify this package's own rules file using all the new ↵Joey Hess1-77/+11
toys.
2007-11-26* Fix man page names of translated debhelper(7) man pages.Joey Hess1-1/+1
Patch from Frédéric Bothamy. Closes: 453051
2006-07-29r1939: * Add size test, which fails on any debhelper program of more than 150joeyh1-1/+1
lines. This is not a joke, and 100 lines would be better.
2006-04-17r1905: * dh_installxfonts: pass --x11r7-layout to update-fonts-* commands to ↵joeyh1-1/+1
ensure they use the right new directory. Closes: #362820 * dh_installxfonts: also, alias files have moved from /etc/X11/fonts/* to /etc/X11/fonts/X11R7/*, update call to update-fonts-alias and the man page accordingly; packages containing alias files will need to switch to the new directory on their own. * dh_installudev: correct documentation for --name. Closes: #363028 * Fix broken directory removal code.
2006-04-14r1904: * Update french translation with recents changes in ↵vperrin-guest1-1/+4
dh_installxfonts, dh_link and dh_compress manpages * Delete -f option in po4a command line. Bug in po4a has been corrected in new version (0.24.1). * Change build-depends for po4a. New version (0.24.1). * Add code for removing empty "lang" directories into man/ when cleaning.
2006-03-30r1895: releasing version 5.0.275.0.27joeyh1-0/+4
2006-03-19r1888: remove website update gunk; website is moving to wikijoeyh1-7/+0
2006-03-13r1884: impove some errorsjoeyh1-1/+1
2006-02-22r1880: * Update pot file and french translation with recent changes in the ↵vperrin-guest1-2/+2
dh_installdebconf manpage * Add -f option to force .pot file re-building. This is in waiting a patch, correcting a bug in po4a_0.23.1 * Add --rm-backups in clean: Otherwise ll.po~ are included in the source package. (see debhelper_5.0.22.tar.gz)
2006-01-19r1858: * Improved po4a cleaning. Closes: #348521joeyh1-3/+1
2005-11-14r1822: releasing version 5.0.75.0.7joey1-4/+9
2005-11-09r1820: releasing version 5.0.65.0.6joey1-1/+1
2005-11-09r1818: releasing version 5.0.55.0.5joey1-4/+6
2005-11-07r1811: * Remove dh_shlibs from binary-indep section of debian/rules.joey1-1/+0
* Add t/syntax to make sure all dh_* commands and the libraries syntax check ok.
2005-09-22r1789: releasing version 4.9.104.9.10joey1-6/+3
2005-09-22r1788: * Patch from Valéry Perrin to use po4a for localised manpages. Thanks!joey1-7/+14
Closes: #328791
2005-06-28r1770: releasing version 4.9.34.9.3joey1-2/+2
2005-06-13r1763: releasing version 4.9.04.9.0joey1-37/+26
2003-08-26r1600: spanish tranalstion of man pagesversion_4.1.70joey1-27/+38
2003-07-28r1086: * Several man pae typo fixes by Ruben Porras. Closes: #202819version_4.1.56joey1-1/+1
* Now in a subversion repository, some minor changes for that. * dh_link test should expect results in debian/debhelper, not debian/tmp.
2003-04-06r582: * Fix build with 077 umask. Closes: #187757joey1-2/+2
* Allow colons between multiple items in DH_ALWAYS_EXCLUDE.
2003-03-24r580: * Fixed dh_installcatalog's references to itself on man page.joey1-2/+3
Closes: #184411 * dh_installdebconf: Set umask to sane before running po2debconf or debconf-mergetemplates
2003-03-04r577: * Rename debhelper.1 to debhelper.7.joey1-1/+1
* Typo, Closes: #183267
2003-03-03r576: * Rename debhelper.1 to debhelper.7.joey1-3/+3
* Typo, Closes: #183267
2002-11-24r567: * dh_builddeb: Reluctantly call dpkg-deb directly. dpkg cannot pass ↵joey1-1/+1
extra params to dpkg-deb. Closes: #170330
2002-07-22r539: * Remove /usr/doc manglement code from postinst and prerm.joey1-1/+1
Do not use this verion of debhelper for woody backports! * Removed dh_installxaw.
2002-05-19r522: * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directoriesjoey1-3/+1
from processing by any command that takes a -X option, and dh_builddeb will also go in and rm -rf any that still sneak into the build tree. * dh_install: A patch from Eric Dorland <eric@debian.org> adds support for --sourcedir, which allows debian/package.files files to be moved over to debian/package.install, and just work. Closes: #146847 * dh_movefiles: don't do file tests in no-act mode. Closes: #144573 * dh_installdebconf: pass --drop-old-templates to debconf-mergetemplate. Means debhelper has to depend on debconf-utils 1.1.1.
2002-05-17r521: * Corrects misbuild with CVS dirs in deb. Closes: #146576joey1-0/+2
2002-04-12r518: * dh_movefiles has long been a sore point in debhelper. Inheritedjoey1-22/+10
from debstd, its interface and implementation suck, and I have maintained it while never really deigning to use it. Now there is a remplacment: dh_install, which ... - copies files, doesn't move them. Closes: #75360, #82649 - doesn't have that whole annoying debian/package.files vs. debian/files mess, as it uses debian/install. - supports copying empty subdirs. Closes: #133037 - doesn't use tar, thus no error reproting problems. Closes: #112538 - files are listed relative to the pwd, debian/tmp need not be used at all, so no globbing issues. Closes: #100404 - supports -X. Closes: #116902 - the whole concept of moving files out of a directory is gone, so this bug doesn't really apply. Closes: #120026 - This is exactly what Bill Allombert asked for in #117383, even though I designed it seemingly independantly. Thank you Bill! Closes: #117383 * Made debhelper's debian/rules a lot simpler by means of the above. * Updated example rules file to use dh_install. Also some reordering and other minor changes. * dh_movefiles is lightly deprecated, and when you run into its bugs and bad design, you are incouraged to just use dh_install instead. * dh_fixperms: in v4 only, make all files in bin/ dirs +x. Closes: #119039 * dh_fixperms: in v4 only, make all files in etc/init.d executable (of course there's -X ..) * dh_link: in v4 only, finds existing, non-policy-conformant symlinks and corrects them. This has the side effect of making dh_link idempotent. * Added a -h/--help option. This seems very obvious, but it never occured to me before.. * use v4 for building debhelper itself * v4 mode is done, you may now use it without fear of it changing. (This idea of this upload is to get v4 into woody so people won't run into many issues backporting from sarge to woody later on. Packages targeted for woody should continue to use whatever compatability level they are using.)
2002-01-27r506: * Introduced the debian/compat file. This is the new, preferred way ↵joey1-3/+0
to say what debhelper compatability level your package uses. It has the big advantage of being available to debhelper when you run it at the command line, as well as in debian/rules. * A new v4 feature: dh_installinit, in v4 mode, will use invoke-rc.d. This is in v4 for testing, but I may well roll it back into v3 (and earlier) once woody is released and I don't have to worry about breaking things (and, presumably, once invoke-rc.d enters policy). * Some debhelper commands will now build up a new substvars variable, ${misc:Depends}, based on things they know your package needs to depend on. For example, dh_installinit in v4 mode adds sysvinit (>= 2.80-1) to that dep list, and dh_installxfonts adds a dep on xutils. This variable should make it easier to keep track of what your package needs to depends on, supplimenting the ${shlibs:Depends} and ${perl:Depends} substvars. Hmm, this appears to be based loosely on an idea by Masato Taruishi <taru@debian.org>, filtered through a long period of mulling it over. Closes: #76352 * Use the addsubstvar function I wrote for the above in dh_perl too.
2001-05-29r472: * Fixed issues with extended parameters to dh_gencontrol including ↵joey1-1/+1
spaces and quotes. This was some histirical cruft that deals with splitting up the string specified by -u, and it should not have applied to the set of options after --. Now that it's fixed, any and all programs that support a -- and options after it, do not require any special quoting of the succeeding options. Quote just like you would in whatever program those options go to. So, for example, dh_gencontrol -Vblah:Depends='foo, bar (>= 1.2)' will work just as you would hope. This fix does NOT apply to -u; don't use -u if you must do something complex. Closes: #89311 * Made escape_shell output a lot better.