lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Directory structure for multiple-architecture builds


From: Greg Chicares
Subject: Re: [lmi] Directory structure for multiple-architecture builds
Date: Tue, 23 May 2017 16:42:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 2017-05-23 14:29, Vadim Zeitlin wrote:
[...]
>  I've just realized that I don't actually know how is the end user
> distribution created. Does it use the same structure with "bin"
> subdirectory? This would be somewhat unusual (although not exactly unique)
> for a MSW application...

We copy everything into a single flat directory, much like this:

file_list0 := \
  $(wildcard $(prefix)/local/bin/*$(SHREXT)) \
  $(wildcard $(prefix)/local/lib/*$(SHREXT)) \
  $(wildcard $(bindir)/product_files$(EXEEXT))
all_file_lists := file_list0 file_list1 [...more file lists...]
$(CP) --preserve $(all_file_lists) .

and make a tarball. The 'fardel' target in 'workhorse.make' does it all.

End users extract that to a particular directory, e.g. 'lmi-20170532T1635Z',
which might be usable (without the secret password) throughout 2017-June.
(The next month, they get another.) To uninstall an old version, they just
delete that single directory.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]