Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 1a5909087ea41304a63d6eb44f22a84f > files > 3

loggedfs-0.4-5mdv2009.0.src.rpm

diff -ru loggedfs-0.4/Makefile loggedfs-0.4.n/Makefile
--- loggedfs-0.4/Makefile	2007-01-13 23:12:37.000000000 +0100
+++ loggedfs-0.4.n/Makefile	2007-05-25 17:11:02.000000000 +0200
@@ -3,6 +3,10 @@
 LDFLAGS=-Wall -ansi -lpcre -lfuse -lrlog `xml2-config --libs`
 srcdir=src
 builddir=build
+prefix=/usr
+bindir=$(prefix)/bin
+mandir=$(prefix)/share/man
+sysconfdir=/etc
 
 all: $(builddir) loggedfs
 
@@ -25,9 +29,9 @@
 	
 install:
 	gzip loggedfs.1
-	cp loggedfs.1.gz /usr/share/man/man1/
-	cp loggedfs /usr/bin/
-	cp loggedfs.xml /etc/
+	cp loggedfs.1.gz $(mandir)/man1/
+	cp loggedfs $(bindir)/
+	cp loggedfs.xml $(sysconfdir)/
 
 
 mrproper: clean