Philip Mucci wrote:
Hi Will,
I just sent Stephane patches for PFMON and LIBPFM that allow full
specification of the install directories, DATADIR, INCDIR, LIBDIR,
BINDIR, PREFIX and DESTDIR. I need this for Gentoo work ebuilds (just
for example) Encourage him to accept. ;-) There are more machines than
x86_64 that have this split for sure.
Stephane, you can't do this simply with ARCH, it is not enough. There
are machines that have the same ARCH than have more than 1 lib directory
depending on ABI's. PPC64, MIPS for example. The best way is to be able
to specify the directories on the command line...
But, FWIW, in my makefiles, when I see ARCH=x86_64 and do not see -m32
in the CFLAGS, I install in lib64.
Phil
Hi Phil,
Sorry for the missing body on the previous email. It didn't seem like the man
pages were being installed in the correct place with the
libpfm-3.2-060926.tar.gz. Isn't a patch like the attached needed to install the
man pages in the correct place?
-Will
--- libpfm-3.2-060926/docs/Makefile.prefix 2006-09-26 08:21:35.000000000 -0400
+++ libpfm-3.2-060926/docs/Makefile 2006-10-01 23:04:14.000000000 -0400
@@ -28,5 +28,5 @@
.PHONY: all clean distclean depend
install:
- -mkdir -p $(DESTDIR)$(MANDIR)
- ( cd man3; $(INSTALL) -m 644 *.3 $(DESTDIR)$(MANDIR) )
+ -mkdir -p $(DESTDIR)$(MANDIR)/man3
+ ( cd man3; $(INSTALL) -m 644 *.3 $(DESTDIR)$(MANDIR)/man3 )
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/