ivan wrote: > On Sunday 05 October 2008 12:40:29 Eugene V. Lyubimkin wrote: >> ivan wrote: >>> On Sunday 05 October 2008 11:10:54 Eugene V. Lyubimkin wrote: >>>> Have you debian/dirs file, with "usr/lib" entry in it? >>> Yes debian/dirs file contents 2 strings: >>> >>> usr/lib >>> usr/include >> Ah, sorry, didn't see it. >> >> Then simply mkdir usr/lib subdirectory in debian/tmp, it seems that >> dh_installdirs don't create it, its aim to create all needed subdirectories >> in package install dirs, not tmp. It's my assuming, it may be wrong. > > Hmmm, wery strange... > I find in Dh_Lib.pm code: > > elsif (compat(1) && $package eq $dh{MAINPACKAGE}) { > # This is for back-compatibility with the debian/tmp tradition. > return "debian/tmp"; > } > > and may build package when write in debian/compat "1", but write > dh_builddeb: Compatibility levels before 4 are deprecated. You should not build package with compat < 5 nowadays. > why default make file generate: > install: build > ...... > # Add here commands to install the package into debian/tmp > $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install > install to debian/tmp ? I guess because most 'install' targets create needed subdirectories themselves. -- Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.
Attachment:
signature.asc
Description: OpenPGP digital signature