Re: Using Makefile for copy files into a package

2007-01-11 Thread Paul TBBle Hampson
On Thu, Jan 11, 2007 at 12:41:58PM +, Rodrigo Tavares wrote: > Hello, > I'm trying install the scripts before run the preinst. > In the first line in my preinst i put this line: > install -m 755 debian/scripts-bd/script.sh /opt > But when the package is ready (after > dpk-buildpackage). >

Re: Using Makefile for copy files into a package

2007-01-11 Thread Santiago Vila
On Thu, 11 Jan 2007, Rodrigo Tavares wrote: > In the first line in my preinst i put this line: > install -m 755 debian/scripts-bd/script.sh /opt Either this is a joke, or you still have to learn the difference between a source package and a binary package. If it's not a joke, please read the man

Re: Using Makefile for copy files into a package

2007-01-11 Thread Rodrigo Tavares
Hello, I'm trying install the scripts before run the preinst. In the first line in my preinst i put this line: install -m 755 debian/scripts-bd/script.sh /opt But when the package is ready (after dpk-buildpackage). And i do : dpkg -i package.deb The installation begin, but the first line isn'

Re: Using Makefile for copy files into a package

2007-01-11 Thread Hendrik Sattler
Am Donnerstag 11 Januar 2007 13:03 schrieb Lars Wirzenius: > On to, 2007-01-11 at 10:45 +, Rodrigo Tavares wrote: > > I set in my makefile: > > package = mypackage > > install -m 755 debian/scripts-bd/script.sh > > $$packagename/opt/ > > If those are two successive lines of commands for a targe

Re: Using Makefile for copy files into a package

2007-01-11 Thread Lars Wirzenius
On to, 2007-01-11 at 10:45 +, Rodrigo Tavares wrote: > I set in my makefile: > package = mypackage > install -m 755 debian/scripts-bd/script.sh > $$packagename/opt/ If those are two successive lines of commands for a target in a Makefile, then it won't work like that. Every line is executed as