2005-02-19 20:56:51 +00:00
|
|
|
--- config.c.orig Sun May 4 06:48:04 2003
|
|
|
|
+++ config.c Sat Feb 19 11:30:53 2005
|
2006-10-07 14:52:56 +00:00
|
|
|
@@ -1,5 +1,6 @@
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
+#include <stdlib.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <signal.h>
|
|
|
|
|
2005-02-19 20:56:51 +00:00
|
|
|
@@ -238,8 +238,8 @@
|
2001-01-14 11:47:57 +00:00
|
|
|
fprintf(makefile, "\nclean: \n\trm -f *.o core \n");
|
|
|
|
fprintf(makefile, "\ndistclean: clean\n\trm -f splitvt Makefile\n");
|
2005-02-19 20:56:51 +00:00
|
|
|
fprintf(makefile, "\ninstall: install-man\n");
|
|
|
|
- fprintf(makefile, "\tmv splitvt /usr/local/bin/splitvt\n");
|
2001-01-14 11:47:57 +00:00
|
|
|
- fprintf(makefile, "\tmv examples/xsplitvt /usr/local/bin/xsplitvt\n");
|
2005-02-19 20:56:51 +00:00
|
|
|
+ fprintf(makefile, "\tmv splitvt %%PREFIX%%/bin/splitvt\n");
|
2001-01-14 11:47:57 +00:00
|
|
|
+ fprintf(makefile, "\tmv examples/xsplitvt %%PREFIX%%/bin/xsplitvt\n");
|
2005-02-19 20:56:51 +00:00
|
|
|
fprintf(makefile, "\ninstall-man:\n");
|
|
|
|
fprintf(makefile, "\tcp splitvt.man /usr/local/man/man1/splitvt.1\n");
|
2001-01-14 11:47:57 +00:00
|
|
|
|