T o n g <mlist4sunt...@yahoo.com> writes: > Hi, > > Is it possible to have a generic debian/rules that creates directories? > > The upstream Makefiles was not designed to install into $DESTDIR but > to /, so it assumes /usr/bin exists, while that creates problems for me: > > install -s -m 755 autogb /export/build/zh-autoconvert/bld/zh- > autoconvert-0.3.16/debian/tmp/usr/bin > install: cannot create regular file '/export/build/zh-autoconvert/bld/ > zh-autoconvert-0.3.16/debian/tmp/usr/bin': No such file or directory > > Is it possible to alter the following `debian/rules` file so that it > plays nicely with such upstream Makefiles?
Yes. You want to use dh_installdirs(1). I suggest you read its manpage. Mind you, you won't need to touch debian/rules for that. -- |8] -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87eh4rjngh.fsf@algernon.balabit