--- Makefile.orig 2004-05-27 16:59:27 UTC +++ Makefile @@ -51,11 +51,12 @@ debug: crfile.c $(CC) $(DEBUG_FLAGS) -o crfile crfile.c install: crfile sesslog - mkdir -p $(BINDIR) $(ETCDIR) $(MANDIR) + mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(ETCDIR) $(DESTDIR)$(MANDIR) perl -pi -e 's/my \$$MASTER_CONFIG =.*$$/my \$$MASTER_CONFIG = "$$ENV{AB_CFG}";/' autobench - cp crfile autobench autobenchd autobench_admin sesslog bench2graph $(BINDIR) - cp autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(MANDIR) - cp autobench.conf $(ETCDIR) + ${BSD_INSTALL_PROGRAM} crfile sesslog $(DESTDIR)$(BINDIR) + ${BSD_INSTALL_SCRIPT} autobench autobenchd autobench_admin bench2graph $(DESTDIR)$(BINDIR) + ${BSD_INSTALL_MAN} autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(DESTDIR)$(MANDIR) + ${BSD_INSTALL_DATA} autobench.conf $(DESTDIR)$(ETCDIR)/autobench.conf.sample clean: rm -f crfile sesslog