mutiple binary package

2004-06-28 Thread Arnaud FLORENT

Hi

i want to build 2 packages that install two different versions of the 
same program.


everything is shared between the 2 packages except the binary files.

i try to use the dh_make in multiple binary mode, but there is not a lot 
of documentation!


i can't share the installation scripts (postinst) like i share the 
directory creation.


i v' got a dirs file in the debian directory. The directory structure is 
created for both package. that's great


but my postinst file in the installation script is only created in the 
first package, not both!



so my questions are:
- is multiple binayr package the good way to do this?
- how cani share my installation scripts between package?

Thanks in advance,







--
__
Arnaud FLORENT
IRIS Technologies

phone:  (33) 03 20 65 85 80
fax:(33) 03 20 65 85 81

mailto:[EMAIL PROTECTED]
__



Re: mutiple binary package

2004-06-28 Thread Bartosz Fenski aka fEnIo
On Mon, Jun 28, 2004 at 11:11:41AM +0200, Arnaud FLORENT wrote:
 Hi
Hello.
 
 i want to build 2 packages that install two different versions of the 
 same program.
 
 everything is shared between the 2 packages except the binary files.
 
 i try to use the dh_make in multiple binary mode, but there is not a lot 
 of documentation!

In my opinion documentation is quite good.
 
 i can't share the installation scripts (postinst) like i share the 
 directory creation.

Just name them package1.postinst and package2.postinst.
 
 i v' got a dirs file in the debian directory. The directory structure is 
 created for both package. that's great

dirs file could be splitted to. Just create package1.dirs and
package2.dirs.
 
 but my postinst file in the installation script is only created in the 
 first package, not both!

It would be easier if you could provide us some URL to your work. 
 
 so my questions are:
 - is multiple binayr package the good way to do this?

IMHO yes.

 - how cani share my installation scripts between package?

package1.anything and package2.anything ;)
 
 Thanks in advance,

No problem.

regards
fEnIo
-- 
  _  Bartosz Fenski | mailto:[EMAIL PROTECTED] | pgp:0x13fefc40 | 
IRC:fEnIo
_|_|_ 32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Polska
(0 0)  phone:+48602383548 | Slackware - the weakest link
ooO--(_)--Ooo  http://skawina.eu.org | JID:[EMAIL PROTECTED] | RLU:172001


signature.asc
Description: Digital signature


Re: mutiple binary package

2004-06-28 Thread Matthew Palmer
On Mon, Jun 28, 2004 at 02:11:31PM +0200, Arnaud FLORENT wrote:
 !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

HTML in e-mail messages, especially those to Debian lists, is deeply frowned
upon.  Turn it off, and if you can't, switch to a mail program which will
allow you to.

- Matt



mutiple binary package

2004-06-28 Thread Arnaud FLORENT
Hi
i want to build 2 packages that install two different versions of the 
same program.

everything is shared between the 2 packages except the binary files.
i try to use the dh_make in multiple binary mode, but there is not a lot 
of documentation!

i can't share the installation scripts (postinst) like i share the 
directory creation.

i v' got a dirs file in the debian directory. The directory structure is 
created for both package. that's great

but my postinst file in the installation script is only created in the 
first package, not both!

so my questions are:
- is multiple binayr package the good way to do this?
- how cani share my installation scripts between package?
Thanks in advance,



--
__
Arnaud FLORENT
IRIS Technologies
phone:  (33) 03 20 65 85 80
fax:(33) 03 20 65 85 81
mailto:[EMAIL PROTECTED]
__
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: mutiple binary package

2004-06-28 Thread Bartosz Fenski aka fEnIo
On Mon, Jun 28, 2004 at 11:11:41AM +0200, Arnaud FLORENT wrote:
 Hi
Hello.
 
 i want to build 2 packages that install two different versions of the 
 same program.
 
 everything is shared between the 2 packages except the binary files.
 
 i try to use the dh_make in multiple binary mode, but there is not a lot 
 of documentation!

In my opinion documentation is quite good.
 
 i can't share the installation scripts (postinst) like i share the 
 directory creation.

Just name them package1.postinst and package2.postinst.
 
 i v' got a dirs file in the debian directory. The directory structure is 
 created for both package. that's great

dirs file could be splitted to. Just create package1.dirs and
package2.dirs.
 
 but my postinst file in the installation script is only created in the 
 first package, not both!

It would be easier if you could provide us some URL to your work. 
 
 so my questions are:
 - is multiple binayr package the good way to do this?

IMHO yes.

 - how cani share my installation scripts between package?

package1.anything and package2.anything ;)
 
 Thanks in advance,

No problem.

regards
fEnIo
-- 
  _  Bartosz Fenski | mailto:[EMAIL PROTECTED] | pgp:0x13fefc40 | IRC:fEnIo
_|_|_ 32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Polska
(0 0)  phone:+48602383548 | Slackware - the weakest link
ooO--(_)--Ooo  http://skawina.eu.org | JID:[EMAIL PROTECTED] | RLU:172001


signature.asc
Description: Digital signature


Re: mutiple binary package

2004-06-28 Thread Arnaud FLORENT




Thanks

i'va found a solution
i made link from files dirs postinst ... to package1.dirs
package1.postinst package2.dirs package2.postinst
that works but i thought there would exist a better solution.



Bartosz Fenski aka fEnIo a crit:

  On Mon, Jun 28, 2004 at 11:11:41AM +0200, Arnaud FLORENT wrote:
  
   
  
  
i can't share the installation scripts (postinst) like i share the 
directory creation.

  
  
Just name them package1.postinst and package2.postinst.
 
  
  
i v' got a dirs file in the debian directory. The directory structure is 
created for both package. that's great

  
  
dirs file could be splitted to. Just create package1.dirs and
package2.dirs.
 
  
  
but my postinst file in the installation script is only created in the 
first package, not both!

  
  
It would be easier if you could provide us some URL to your work. 
 
  
  
so my questions are:
- is multiple binayr package the good way to do this?

  
  
IMHO yes.

  
  
- how cani share my installation scripts between package?

  
  
package1.anything and package2.anything ;)
 
  
  
Thanks in advance,

  
  
No problem.

regards
fEnIo
  


-- 
__
 Arnaud FLORENT
 IRIS Technologies

 phone:	(33) 03 20 65 85 80
 fax:	(33) 03 20 65 85 81

 mailto:[EMAIL PROTECTED]
__




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mutiple binary package

2004-06-28 Thread Matthew Palmer
On Mon, Jun 28, 2004 at 02:11:31PM +0200, Arnaud FLORENT wrote:
 !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

HTML in e-mail messages, especially those to Debian lists, is deeply frowned
upon.  Turn it off, and if you can't, switch to a mail program which will
allow you to.

- Matt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]