summaryrefslogtreecommitdiff
path: root/misc/sloccount/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sloccount/files/patch-makefile')
-rw-r--r--misc/sloccount/files/patch-makefile34
1 files changed, 19 insertions, 15 deletions
diff --git a/misc/sloccount/files/patch-makefile b/misc/sloccount/files/patch-makefile
index 58986e7bf2c6..d3bbf09cf4bd 100644
--- a/misc/sloccount/files/patch-makefile
+++ b/misc/sloccount/files/patch-makefile
@@ -1,5 +1,5 @@
---- makefile.orig Mon Apr 30 21:30:22 2001
-+++ makefile Sun May 20 20:54:36 2001
+--- makefile.orig Tue Jun 12 20:55:23 2001
++++ makefile Fri Aug 24 22:29:56 2001
@@ -7,14 +7,12 @@
# Set this for where to store the man pages and executables.
# If you want to store this as part of an official distribution,
@@ -15,19 +15,25 @@
# Set this to the name of your "install" program. On some systems,
# "install -C" would be useful (so unchanged files won't be modified),
-@@ -35,9 +33,9 @@
+@@ -37,7 +35,7 @@
ARCH=i386
VERSIONEDNAME=$(NAME)-$(VERSION)
INSTALL_DIR=$(PREFIX)/bin
-MAN_DIR=$(PREFIX)/share/man
+MAN_DIR=$(PREFIX)/man
MAN_DIR_MAN1=$(MAN_DIR)/man1
--DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
-+DOC_DIR=$(PREFIX)/share/doc/${NAME}
+ DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
POSTED_DIR=/home/dwheeler/dwheeler.com/sloccount
+@@ -78,7 +76,7 @@
+ sql_count \
+ tcl_count
+-MANPAGES=sloccount.1.gz
++MANPAGES=sloccount.1
-@@ -83,10 +81,10 @@
+ MYDOCS=sloccount.html README TODO ChangeLog
+
+@@ -86,10 +84,10 @@
all: lexcount1$(EXE_SUFFIX) c_count$(EXE_SUFFIX) java_count$(EXE_SUFFIX) sloccount.1.gz
lexcount1$(EXE_SUFFIX): lexcount1.c
@@ -40,7 +46,7 @@
sloccount.1.gz: sloccount.1
gzip -c sloccount.1 > sloccount.1.gz
-@@ -97,7 +95,7 @@
+@@ -100,18 +98,17 @@
# This is USC's code counter, not built by default:
c_lines: C_LINES.C
@@ -49,18 +55,16 @@
install_programs: all
-@@ -107,14 +105,12 @@
+- $(INSTALL) $(EXECUTABLES) $(INSTALL_DIR)
++ ${BSD_INSTALL_SCRIPT} $(EXECUTABLES) $(INSTALL_DIR)
+
+ uninstall_programs:
cd $(INSTALL_DIR) && rm -f $(EXECUTABLES)
install_man:
- $(INSTALL_A_DIR) $(MAN_DIR_MAN1)
- $(INSTALL) $(MANPAGES) $(MAN_DIR_MAN1)
+- $(INSTALL) $(MANPAGES) $(MAN_DIR_MAN1)
++ ${BSD_INSTALL_MAN} $(MANPAGES) $(MAN_DIR_MAN1)
uninstall_man:
cd $(MAN_DIR_MAN1) && rm -f $(MANPAGES)
-
- install_docs: install_man
-- $(INSTALL_A_DIR) $(DOC_DIR)
- $(INSTALL) $(MYDOCS) $(DOC_DIR)
-
- uninstall_docs: