path: root/debian/rules
Commit message (Collapse)AuthorAge
* remove -B from examples for nowJoey Hess2009-02-19
| | | | | There is some concern that passing -B to make may violate debian policy. <eyeroll>
* make dh override_dh_* a no-opJoey Hess2009-02-17
| | | | | This happens if the override target is completly empty. Make sees it is, and runs the implicit dh target.
* dh: Support debian/rules calling make with -BJoey Hess2009-02-17
| | | | | | | | | | | | 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.
* dh is fully working and is being used to build debhelperJoey Hess2008-04-23
* dh is now workingJoey Hess2008-04-23
| | | | | | And debian/rules uses it. Sweet!
* missed oneJoey Hess2008-04-23
* Add a Makefile and simplify this package's own rules file using all the new ↵Joey Hess2008-04-23
| | | | toys.
* * Fix man page names of translated debhelper(7) man pages.Joey Hess2007-11-26
| | | | Patch from Frédéric Bothamy. Closes: 453051
* r1939: * Add size test, which fails on any debhelper program of more than 150joeyh2006-07-29
| | | | lines. This is not a joke, and 100 lines would be better.
* r1905: * dh_installxfonts: pass --x11r7-layout to update-fonts-* commands to ↵joeyh2006-04-17
| | | | | | | | | | | | 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.
* r1904: * Update french translation with recents changes in ↵vperrin-guest2006-04-14
| | | | | | | | 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.
* r1895: releasing version 5.0.27joeyh2006-03-30
* r1888: remove website update gunk; website is moving to wikijoeyh2006-03-19
* r1884: impove some errorsjoeyh2006-03-13
* r1880: * Update pot file and french translation with recent changes in the ↵vperrin-guest2006-02-22
| | | | | | | 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)
* r1858: * Improved po4a cleaning. Closes: #348521joeyh2006-01-19
* r1822: releasing version 5.0.7joey2005-11-14
* r1820: releasing version 5.0.6joey2005-11-09
* r1818: releasing version 5.0.5joey2005-11-09
* r1811: * Remove dh_shlibs from binary-indep section of debian/rules.joey2005-11-07
| | | | | * Add t/syntax to make sure all dh_* commands and the libraries syntax check ok.
* r1789: releasing version 4.9.10joey2005-09-22
* r1788: * Patch from Valéry Perrin to use po4a for localised manpages. Thanks!joey2005-09-22
| | | | Closes: #328791
* r1770: releasing version 4.9.3joey2005-06-28
* r1763: releasing version 4.9.0joey2005-06-13
* r1600: spanish tranalstion of man pagesjoey2003-08-26
* r1086: * Several man pae typo fixes by Ruben Porras. Closes: #202819joey2003-07-28
| | | | | * Now in a subversion repository, some minor changes for that. * dh_link test should expect results in debian/debhelper, not debian/tmp.
* r582: * Fix build with 077 umask. Closes: #187757joey2003-04-06
| | | | * Allow colons between multiple items in DH_ALWAYS_EXCLUDE.
* r580: * Fixed dh_installcatalog's references to itself on man page.joey2003-03-24
| | | | | | Closes: #184411 * dh_installdebconf: Set umask to sane before running po2debconf or debconf-mergetemplates
* r577: * Rename debhelper.1 to debhelper.7.joey2003-03-04
| | | | * Typo, Closes: #183267
* r576: * Rename debhelper.1 to debhelper.7.joey2003-03-03
| | | | * Typo, Closes: #183267
* r567: * dh_builddeb: Reluctantly call dpkg-deb directly. dpkg cannot pass ↵joey2002-11-24
| | | | | | extra params to dpkg-deb. Closes: #170330
* r539: * Remove /usr/doc manglement code from postinst and prerm.joey2002-07-22
| | | | | Do not use this verion of debhelper for woody backports! * Removed dh_installxaw.
* r522: * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directoriesjoey2002-05-19
| | | | | | | | | | | 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 <> 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.
* r521: * Corrects misbuild with CVS dirs in deb. Closes: #146576joey2002-05-17
* r518: * dh_movefiles has long been a sore point in debhelper. Inheritedjoey2002-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* r506: * Introduced the debian/compat file. This is the new, preferred way ↵joey2002-01-27
| | | | | | | | | | | | | | | | | | | | | | 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 <>, filtered through a long period of mulling it over. Closes: #76352 * Use the addsubstvar function I wrote for the above in dh_perl too.
* r472: * Fixed issues with extended parameters to dh_gencontrol including ↵joey2001-05-29
| | | | | | | | | | | | | | | 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.
* r469: * Missing semi-colon.joey2001-05-15
| | | | | * Call dh_shlibdeps as part of build process, as simple guard against this (dh_* should be called, really).
* r466: * Corrected bashism (echo -e, DAMNIT), in rules file that resulted in ajoey2001-05-12
| | | | corrupted Closes: #97236
* r460: updatejoey2001-04-09
* r445: * Updated dh_perl to a new version for the new perl organization andjoey2001-02-14
| | | | | | | | | policy. The -k flag has been done away with, as the new perl packages don't make packlist files. * Fixed some bugs in the new dh_perl and updated it to my current debhelper coding standards. * Use dh_perl to generate debhelper's own deps. * Version number increase to meet perl policy.
* r443: * Build-depends on perl-5.6, since it uses 2 argument pod2man.joey2001-02-13
| | | | * Cleanups of debhelper.1 creation process.
* r441: * Added dh_installman, a new program that replaces dh_installmanpages.joey2001-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not DWIM. You tell it what to install and it figures out where based on .TH section field and filename extention. I reccommend everyone begin using it, since this is much better then dh_installmanpages's evilness. I've been meaning to do this for a very long time.. Closes: #38673, #53964, #64297, #16933, #17061, #54059, #54373, #61816 * dh_installmanpages remains in the package for backwards compatability, but is mildly deprecated. * dh_testversion is deprecated; use build dependancies instead. * dh_suidregister: re-enabled. Aj thinks that requiring people to stop using it is unacceptable. Who am I to disagree with a rc bug report? Closes: #84910 It is still deprecated, and it will still whine at you if you use it. I appreciate the job everyone has been doing at switching to statoverrides.. * Since dh_debstd requires dh_installmanpages (where do you think the latter's evil interface came from?), I have removed it. It was a nice thought-toy, but nobody really used it, right? * Since the from-debstd document walks the maintainer through running dh_debstd to get a list of debhelper commands, and since that document has really outlives its usefullness, I removed it too. Use dh-make instead. * dh_installman installs only into /usr/share/man, not the X11R6 directory. Policy says "files must not be installed into `/usr/X11R6/bin/', `/usr/X11R6/lib/', or `/usr/X11R6/man/' unless this is necessary for the package to operate properly", and I really doubt a man page being in /usr/share/man is going to break many programs. Closes: #81853 (I hope the bug submitter doesn't care that dh_installmanpages still puts stuff in the X11R6/man directory.) * dh_undocumented now the same too now. * dh_installinit: installs debian/package.default files as /etc/default/ files. * Updated to current perl coding standards (use strict, lower-case variable names, pod man pages). * Since with the fixing of the man page installer issue, my checklist for debhelper v3 is complete, I pronounce debhelper v3 done! Revved the version number appropriatly (a large jump; v3 changes less than I had planned). Note that I have no plans for a v4 at this time. :-) * Testing: I have used this new version of debhelper to build a large number of my own packages, and it seems to work. But this release touches every file in this package, so be careful out there..
* r420: big monsta changesjoey2001-02-09
* r407: * suidmanager is obsolete now, and so is dh_suidmanager. Instead,joey2001-01-10
| | | | | | | | | | | | packages that contain suid binaries should include the binaries suid in the .deb, and dpkg-statoverride can override this. If this is done to a program that previously used suidmanager, though, you need to conflict with suidmanager (<< 0.50). * Made dh_suidmanager check to see if it would have done anything before. If so, it states that it is obsolete, and refer users to the man page, which now explains the situation, and then aborts the build. If it would have done nothing before, it just outputs a warning that it is an obsolete program.
* r369: no newline in LATEST-VERSION-IS file, breaks some browsersjoey2000-09-01
* r362: * Minor man page updates as Overfiend struggles with debhelperizing Xjoey2000-07-21
| | | | 4.0.
* r359: * I started work on debhelper v2 over a year ago, with a long list ofjoey2000-07-19
| | | | | | | | | | | | | | | | | | | | changes I hoped to get in that broke backwards compatability. That development stalled after only the most important change was made, although I did get out over 100 releases in the debhelper 2.0.x tree. In the meantime, lots of packages have switched to using v2, despite my warnings that doing so leaves packages open to being broken without notice until v2 is complete. * Therefore, I am calling v2 complete, as it is. Future non-compatabile changes will happen in v3, which will be started soon. This means that by using debhelper v2, one major thing changes: debhelper uses debian/<package> as the temporary directory for *all* packages; debian/tmp is no longer used to build binary packages out of. This is very useful for multi-binary packages, and I reccommend everyone switch to v2. * Updated example rules files to use v2 by default. * Updated all documentation to assume that v2 is being used. * Added a few notes for people still using v1. * Moved all of the README into debhelper(1).
* r354: * Killed the fixlinks stuff, since there are no longer any symlinks injoey2000-07-06
| | | | the source package.
* r341: * Fixed dh_testversion; broken in last release.joey2000-03-04