[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question to dh_installdocs

Hmm.  My first attempt to post this was eaten somewhere along the line.
Let's try again...

>>>>> "Michelle" == Michelle Konzack <linux4michelle@freenet.de> writes:

Michelle> Am 2005-03-03 21:13:16, schrieb Justin Pryzby:
>> Is dh_installdocs being called by the "binary" rule?
>> Rereading your original message, it is not clear if that particular
>> invocation of debian/rules is with fake root privlidges.
>> Empirically, "binary" and "clean" have fakeroot, and "build" does
>> not.

Michelle> Where is it written ? I was reading all maintainer/developer
Michelle> manuals/references...

Well, he said "empirically"...

Michelle>   __( '/home/michelle.konzack/src/stuffit-520/debian/rules'
Michelle>  / | #!/usr/bin/make -f | # | # Rules for making


Michelle> | build: directories decompress install

build is supposed to just compile.  It doesn't install.

>From the Policy Manual, section 4.8:
  "The build target must not do anything that might require root


Michelle> | binary:

Again, from Policy section 4.8:
  "The binary target must be all that is necessary for the user to build
  the binary package(s) produced from this source package."

Hence binary should depend on build, install, etc.

Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Reply to: