1 --- Makefile 2008-08-03 15:20:34.000000000 +0530
2 +++ Makefile.1 2008-08-03 15:20:22.000000000 +0530
6 # Install paths and command on recommendation from Peter Pentchev
7 -INSTALL=/usr/bin/install -c
8 +INSTALL=/bin/install -c
10 # Some prefer /usr/local over /usr as installation root
11 #INSTALL_PATH=/usr/local
13 +INSTALL_PATH=$(DESTDIR)/usr
15 BINDIR=$(INSTALL_PATH)/bin
16 -MAN1DIR=$(INSTALL_PATH)/man/man1
17 +MAN1DIR=$(INSTALL_PATH)/share/man/man1
19 # BSD might prefer this
20 # DOCPATH=$(INSTALL_PATH)/share/doc/hodie
22 # Linux might prefer this:
23 -DOCDIR=$(INSTALL_PATH)/doc/packages/hodie
24 +DOCDIR=$(INSTALL_PATH)/share/doc/hodie
26 #############################
27 # End of user configuration #
29 $(OBJECTS): $(HEADERS)
32 - $(INSTALL) -s -m 755 $(EXEC) $(BINDIR)
33 - install -m 644 hodie.1 $(MAN1DIR)
34 + $(INSTALL) -D -m755 $(EXEC) $(BINDIR)/$(EXEC)
35 + install -D -m644 hodie.1 $(MAN1DIR)/hodie.1
37 - install -m 644 $(DOCS) $(DOCDIR)
38 + install -m644 $(DOCS) $(DOCDIR)
41 -rm -f $(BINDIR)/$(EXEC)