Stephane,

On 08.04.08 22:08:12, stephane eranian wrote:
> I have looked at this patch. Is that your goal to add an
> install_examples target to
> install the binaries for the examples into /usr/share/doc/libpfm/.

> A few questions:
>    - why install the binaries as opposed to the source code?

I have implemeted this to create a binary package where example
applications are already included as binary. This is for testing
purposes. Also, a user could take advantage of the examples and use
e.g. IBS out of the box.

>    - why not include this as part of the install target?

The current implementation does not applies to common rules where to
install examples. Instead of /usr/share/doc/libpfm/examples it should
be /usr/share/doc/libpfm-$(VERSION).$(REVISION).$(AGE)/examples. Patch
on the way that fixes this.

I am not sure if the examples should be part of the default
installation, instead I want to leave this to the package
distributors.

>    - why not provide a top-level install_examples target?

A top-level target would be better. For installation I am currently
using:

DESTDIR=$INSTALL/libpfm make -C examples $MAKEFLAGS install_examples

This could be easier. Patch on the way.

-Robert

-- 
Advanced Micro Devices, Inc.
Operating System Research Center
email: [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to