37779f01dd
Provided in PR 13012 by Stoned Elipot (Stoned.Elipot@script.jussieu.fr) Minor enhancements made by agc. Bibindex and biblook are programs for fast lookup in BibTeX bibliography data bases. Bibindex converts a .bib file to a .bix file, which is a compact binary representation of the .bib file containing hash tables for fast lookup, as well as byte offset positions into the corresponding .bib file. Biblook provides an interactive lookup facility using the .bix and .bib files.
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
$NetBSD: patch-aa,v 1.1.1.1 2001/05/31 10:54:21 agc Exp $
|
|
|
|
--- Makefile.orig Tue Jan 31 21:15:22 1995
|
|
+++ Makefile
|
|
@@ -68,12 +68,15 @@
|
|
# [13-Sep-1993]
|
|
#=======================================================================
|
|
|
|
-DEST = /usr/local
|
|
+DEST = $(PREFIX)
|
|
|
|
BINDIR = $(DEST)/bin
|
|
|
|
CATDIR = $(DEST)/man/cat1
|
|
|
|
+INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM)
|
|
+INSTALL_MAN = $(BSD_INSTALL_MAN)
|
|
+
|
|
# Compilation with a C++ compiler is preferable. SunOS 4.1 CC cannot be
|
|
# used, however, because of its erroneous function prototypes in stdlib.h
|
|
# which use char* instead of void* in many places. There is no such
|
|
@@ -243,16 +246,10 @@
|
|
-$(RM) TAGS
|
|
|
|
install: bibindex biblook
|
|
- -$(CP) bibindex $(BINDIR)
|
|
- -$(STRIP) $(BINDIR)/bibindex
|
|
- -chmod 775 $(BINDIR)/bibindex
|
|
- -$(CP) biblook $(BINDIR)
|
|
- -$(STRIP) $(BINDIR)/biblook
|
|
- -chmod 775 $(BINDIR)/biblook
|
|
- -$(CP) bibindex.man $(MANDIR)/bibindex.$(MANEXT)
|
|
- -chmod 774 $(MANDIR)/bibindex.$(MANEXT)
|
|
- -$(CP) biblook.man $(MANDIR)/biblook.$(MANEXT)
|
|
- -chmod 774 $(MANDIR)/biblook.$(MANEXT)
|
|
+ $(INSTALL_PROGRAM) bibindex $(BINDIR)
|
|
+ $(INSTALL_PROGRAM) biblook $(BINDIR)
|
|
+ $(INSTALL_MAN) bibindex.man $(MANDIR)/bibindex.$(MANEXT)
|
|
+ $(INSTALL_MAN) biblook.man $(MANDIR)/biblook.$(MANEXT)
|
|
|
|
install-ftp: $(FTPFILES)
|
|
-for f in $? ; \
|