Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 4da3d3ceaf3d819d4049d75d0cb8599a > files > 1

aspectc++-1.2-4.mga5.src.rpm

diff --git a/Puma/Makefile b/Puma/Makefile
index 6b0dddc..f931224 100644
--- a/Puma/Makefile
+++ b/Puma/Makefile
@@ -5,7 +5,7 @@
 ROOT    ?= $(shell pwd)
 TARGET  ?= linux-release
 AC      ?= ac++
-PREFIX  ?= /usr/local 
+PREFIX  ?= /usr
 
 include vars.mk
 include files.mk
@@ -64,10 +64,10 @@ doc:
 
 install: src
 	@echo "Installing library and headers..."
-	@mkdir -p $(PREFIX)/lib
-	@cp -pv $(LIBDIR)/libPuma.* $(PREFIX)/lib
-	@mkdir -p $(PREFIX)/include/Puma
-	@cp -pv $(INCDIR)/Puma/*.*h $(PREFIX)/include/Puma
+	@mkdir -p $(DESTDIR)$(PREFIX)/lib
+	@cp -pv $(LIBDIR)/libPuma.* $(DESTDIR)$(PREFIX)/lib
+	@mkdir -p $(DESTDIR)$(PREFIX)/include/Puma
+	@cp -pv $(INCDIR)/Puma/*.*h $(DESTDIR)$(PREFIX)/include/Puma
 
 uninstall: 
 	@echo "Uninstalling library and headers..."