Sophie

Sophie

distrib > Fedora > 15 > x86_64 > by-pkgid > c3f832f417c19b715d5b564c2e28a6ae > files > 5

xferstats-2.16-21.fc15.src.rpm

--- xferstats-2.16/Makefile.in.orig	Tue Oct 31 00:48:07 2000
+++ xferstats-2.16/Makefile.in	Thu Dec 14 11:09:55 2000
@@ -23,15 +23,16 @@
 # Add any options here
 DEFAULT_CONFIGURE_OPTIONS =
 
-prefix = @prefix@
-exec_prefix = @exec_prefix@
+DESTDIR =
+prefix = $(DESTDIR)@prefix@
+exec_prefix = $(DESTDIR)@exec_prefix@
 CFLAGS = $(DEFS) @CFLAGS@ @GLIB_CFLAGS@
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
 CC = @CC@
 PROGS = xferstats
-BINDIR = @bindir@
-MANDIR = @mandir@
+BINDIR = $(DESTDIR)@bindir@
+MANDIR = $(DESTDIR)@mandir@
 INSTALL = @INSTALL@
 SRC = config.c display.c parselog.c xferstats.c
 OBJ = $(SRC:.c=.o)
@@ -53,13 +54,13 @@
 install: $(PROGS)
 	${INSTALL} -d ${BINDIR}
 	${INSTALL} -d ${MANDIR}/man8
-	${INSTALL} -d ${prefix}/etc
+	${INSTALL} -d $(DESTDIR)/etc
 	@set -x ;for i in $(PROGS) ; do \
 	${INSTALL} -c -m 755 $$i ${BINDIR} ; done
 	@echo Installing man page...
 	${INSTALL} -c -m 644 xferstats.8 ${MANDIR}/man8/xferstats.8
 	@echo Installing configuration file...
-	${INSTALL} -c -m 644 xferstats.cfg ${prefix}/etc/xferstats.cfg
+	${INSTALL} -c -m 644 xferstats.cfg $(DESTDIR)/etc/xferstats.cfg
 
 clean:
 	rm -f $(PROGS) $(OBJ)
--- xferstats-2.16/xferstats.8.orig	Tue Oct 31 14:04:43 2000
+++ xferstats-2.16/xferstats.8	Thu Dec 14 11:09:55 2000
@@ -44,7 +44,7 @@
 .BI \-c " configuration file"
 Specify an alternate path and filename for the configuration file.  The packaged
 default is
-.I /usr/local/etc/xferstats.cfg
+.I /etc/xferstats.cfg
 but your administrator may have changed this.  A new default can be set by
 changing the appropriate variable in xferstats.h and recompiling.
 .TP
@@ -243,7 +243,7 @@
 .SH CONFIGURATION FILE
 .P
 The default configuration file path is
-.I /usr/local/etc/xferstats.cfg
+.I /etc/xferstats.cfg
 although your administrator may have changed this.
 .P
 Any text after a '#' is ignored, as long as the '#' begins a line or is
@@ -547,13 +547,12 @@
 .B xferlog
 (generated by wu-ftpd or ncftpd)
 .P
-.B /usr/local/etc/xferstats.cfg
+.B /etc/xferstats.cfg
 contains all of the default settings and many settings which cannot be set from
 the command line.
 .P
 If you installed the RPM version of xferstats, you'll find the JPGs for the
-graphs in /usr/doc/xferstats-x.xx/graphs  Insert the version you're running in
-place of the x.xx.
+graphs in /usr/share/xferstats/graphs.
 
 .SH BUGS
 The JPG graph pieces included are not ideal; sometimes artifacts show up.  I