--- jhead-2.93/makefile +++ jhead-2.93/makefile.new @@ -4,6 +4,7 @@ OBJ=. SRC=. CFLAGS= -O3 -Wall +prefix= /usr all: jhead @@ -20,4 +21,5 @@ rm -f $(objs) jhead install: - cp jhead ${DESTDIR}/usr/local/bin/ + install -Dp -m 0755 jhead $(DESTDIR)$(prefix)/bin/jhead + install -m644 -D jhead.1 $(DESTDIR)$(prefix)/share/man/man1/jhead.1