Re: Packaging: blib/share files, etc

Craig Treleaven <[email protected]> Tue, 26 May 2020 14:32:19 -0400
Newsgroups gmane.comp.tv.xmltv.devel
Message-ID <[email protected]>
On May 26, 2020, at 1:26 PM, Robert Eden <[email protected]> wrote:
> 
> On 5/26/2020 11:11 AM, Craig Treleaven wrote:
>> It appears the blib/share files _are_ installed if ‘make install’ is run.  However, the MacPorts standard is to use ‘make pure_install’.  In the latter case, the blib/share files are not installed. As mentioned, I know little about Perl so I’m uncertain of any other differences between install and pure_install.  Guidance appreciated.
> Interesting.. all (I thought) systems use "make install".  Never heard for "make pure_install" before.


Just before the internet search engine burst into flames, I found:

   "make install by default writes some documentation of what has been done into the file $(INSTALLARCHLIB)/perllocal.pod . This feature can be bypassed by calling make pure_install.”
https://perldoc.perl.org/ExtUtils/MakeMaker.html

I’m not sure what else is different.  People who know much more about Perl packages than me created the common code used in MacPorts.  

> On May 26, 2020, at 1:51 PM, Gary Buhrmaster <[email protected]> wrote:
> 
> On Tue, May 26, 2020 at 4:28 PM Craig Treleaven <[email protected]> wrote:
> 
>> I noticed that the files under blib/share are not being installed.  I take it they are necessary components for certain scripts, right?
> 
> As I recall, most of the share files are either examples,
> docs, or supplemental files for grabbers (and the
> supplemental files default to being pulled from the
> internet(*) since local copies are possibly no longer
> current, although setting an environmental variable
> will let you use the local copy if installed).
> 
> So in practice I suspect they are not needed to
> actually run, but I admit to have not actually
> looked closely at all those files and their uses.

Ah, I see.  Using the pure_install rule, neither of the following is installed, for example:

share/tv_augment/augment.conf
share/tv_augment/augment.rules

Both indicate that they are sample files.

I think I will stick with the pure_install target.  

Craig
(Using subscribed email address this time.)



_______________________________________________
xmltv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltv-devel