--- Makefile.orig 1998-12-25 17:10:57.000000000 +0800 +++ Makefile 2013-11-15 23:04:20.000000000 +0800 @@ -8,8 +8,8 @@ mgeupsd: mgeupsd.o $(CC) $(LDFLAGS) -o $@ $< install: mgeupsd - install mgeupsd /sbin - install mgeupsd.8 /usr/man/man8 + install -c mgeupsd $(DESTDIR)${PREFIX}/sbin + install -c mgeupsd.8 $(DESTDIR)${PREFIX}/man/man8 clean: rm -f *.o mgeupsd