Package: xplot-xplot.org / 0.90.7.1-4

fix-install-paths Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: xplot-xplot.org-0.90.7.1/Makefile.in
===================================================================
--- xplot-xplot.org-0.90.7.1.orig/Makefile.in	2008-10-16 15:05:56.000000000 -0400
+++ xplot-xplot.org-0.90.7.1/Makefile.in	2008-10-16 15:06:19.000000000 -0400
@@ -50,7 +50,7 @@
 exec_prefix = @exec_prefix@
 
 bindir = $(exec_prefix)/bin
-mandir = $(exec_prefix)/man/man1
+mandir = $(exec_prefix)/share/man/man1
 
 CFILES= xplot.c version_string.c coord.c unsigned.c signed.c timeval.c double.c dtime.c
 OFILES= xplot.o version_string.o coord.o unsigned.o signed.o timeval.o double.o dtime.o
@@ -71,10 +71,11 @@
 
 install: all
 	mkdir -p $(bindir)
-	$(INSTALL_PROGRAM) xplot $(bindir)/xplot
+	$(INSTALL_PROGRAM) xplot $(bindir)/xplot.org
 	$(INSTALL) tcpdump2xplot.pl $(bindir)/tcpdump2xplot
 	mkdir -p $(mandir)
 	$(INSTALL_MAN) $(MANFILES) $(mandir)
+	mv $(mandir)/xplot.1 $(mandir)/xplot.org.1
 clean:
 	rm -f ${PROG} ${PROG}.old *.o version_string.c