Mailinglist Archive: opensuse-packaging (60 mails)
| < Previous | Next > |
Re: [opensuse-packaging] My 2nd spec file; problems with install path using the build script
- From: Günter Dannoritzer <dannoritzer@xxxxxx>
- Date: Thu, 04 Jan 2007 00:38:09 +0100
- Message-id: <459C3E61.2030307@xxxxxx>
Detlef Reichelt wrote:
> Hi Guenter,
>
> Am Dienstag, 2. Januar 2007 15:56 schrieb Günter Dannoritzer:
>> Hi, and Happy New Year,
>> + make DESTDIR=/var/tmp/gtkwave-3.0.18 install
>> cd bin;\
>> install -d /usr/bin;\
>> install -m 0755 gtkwave /usr/bin/gtkwave;\
>> install -m 0755 twinwave /usr/bin/twinwave;\
>
> the makefile doesn't notice DESTDIR, fix it! ;)
I thought when using %configure and %makeinstall those macros are taking
care of placing everything to the proper place in the build environment.
But that was only guessing, I did not find an explanation of those two
macros in the package conventions under:
http://forgeftp.novell.com//library/SUSE%20Package%20Conventions/spc.html
When doing the normal source installation, if I recall right, I specify
the destination directory with the ./configure command. So do I just use
the normal configure like in the gnome spec file example of the build
tutorial http://en.opensuse.org/SUSE_Build_Tutorial and not the
%configure macro then?
Guenter
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
> Hi Guenter,
>
> Am Dienstag, 2. Januar 2007 15:56 schrieb Günter Dannoritzer:
>> Hi, and Happy New Year,
>> + make DESTDIR=/var/tmp/gtkwave-3.0.18 install
>> cd bin;\
>> install -d /usr/bin;\
>> install -m 0755 gtkwave /usr/bin/gtkwave;\
>> install -m 0755 twinwave /usr/bin/twinwave;\
>
> the makefile doesn't notice DESTDIR, fix it! ;)
I thought when using %configure and %makeinstall those macros are taking
care of placing everything to the proper place in the build environment.
But that was only guessing, I did not find an explanation of those two
macros in the package conventions under:
http://forgeftp.novell.com//library/SUSE%20Package%20Conventions/spc.html
When doing the normal source installation, if I recall right, I specify
the destination directory with the ./configure command. So do I just use
the normal configure like in the gnome spec file example of the build
tutorial http://en.opensuse.org/SUSE_Build_Tutorial and not the
%configure macro then?
Guenter
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |