--- Makefile 2008-06-23 21:32:28.000000000 +0200 +++ Makefile-gil 2010-10-21 07:11:24.000000000 +0200 @@ -23,8 +23,8 @@ INSTALL = install GROFF = groff -DESTDIR = /usr/local -PREFIX = +DESTDIR = +PREFIX = /usr BINDIR = $(PREFIX)/bin MANDIR = $(PREFIX)/share/man MAN1DIR = $(MANDIR)/man1 @@ -88,9 +88,9 @@ install: $(BIN) $(MAN) $(INSTALL) -d -m755 $(DESTDIR)$(BINDIR) - $(INSTALL) $(BIN) $(DESTDIR)$(BINDIR) + $(INSTALL) -p -m755 $(BIN) $(DESTDIR)$(BINDIR) $(INSTALL) -d -m755 $(DESTDIR)$(MAN1DIR) - $(INSTALL) $(MAN) $(DESTDIR)$(MAN1DIR) + $(INSTALL) -p -m644 $(MAN) $(DESTDIR)$(MAN1DIR) odt2txt.html: $(MAN) $(GROFF) -Thtml -man $(MAN) > $@