Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 8f62d782d03b1a65981f180e4bc4bdff > files > 3

loggedfs-0.4-2mdv2008.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