--- Makefile.in.orig 2000-06-15 00:39:55 UTC +++ Makefile.in @@ -31,7 +31,7 @@ BINDEST = @sbindir@ # Pathname of directory to install the man page MANDEST = @mandir@ # Pathname of directory to install database file -ARPDIR = $(prefix)/arpwatch +ARPDIR ?= $(prefix)/arpwatch # VPATH srcdir = @srcdir@ @@ -45,7 +45,7 @@ CC = @CC@ PROG = arpwatch CCOPT = @V_CCOPT@ INCLS = -I. @V_INCLS@ -DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" +DEFS = @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" # Standard CFLAGS CFLAGS = $(CCOPT) $(DEFS) $(INCLS) @@ -110,13 +110,13 @@ zap: zap.o intoa.o $(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil install: force - $(INSTALL) -m 555 -o bin -g bin arpwatch $(DESTDIR)$(BINDEST) - $(INSTALL) -m 555 -o bin -g bin arpsnmp $(DESTDIR)$(BINDEST) + $(BSD_INSTALL_PROGRAM) arpwatch $(DESTDIR)$(BINDEST) + $(BSD_INSTALL_PROGRAM) arpsnmp $(DESTDIR)$(BINDEST) install-man: force - $(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpwatch.8 \ + $(BSD_INSTALL_MAN) $(srcdir)/arpwatch.8 \ $(DESTDIR)$(MANDEST)/man8 - $(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpsnmp.8 \ + $(BSD_INSTALL_MAN) $(srcdir)/arpsnmp.8 \ $(DESTDIR)$(MANDEST)/man8 lint: $(GENSRC) force