--- Makefile.orig Thu Apr 5 10:15:28 2001 +++ Makefile Wed Dec 17 23:56:36 2003 @@ -5,7 +5,7 @@ all: bamg cvmsh2 $(FLAGFILE) -INSTALLDIR=/usr/local/bin +INSTALLDIR=$(DESTDIR)$(PREFIX)/bin FLAGFILE=FLAG.$(HOSTTYPE) include $(FLAGFILE)