--- Makefile.orig Sat Nov 22 14:51:48 2003
+++ Makefile Sat Nov 22 14:52:40 2003
-BINDIR = $(PREFIX)/usr/sbin
-MANDIR = $(PREFIX)/usr/man
-CFLAGS = -Wall -pedantic -O2
+MANDIR = $(PREFIX)/share/man
+CFLAGS = -Wall -pedantic -O2 -I.
#CFLAGS = -Wall -O2 -g -DDEBUG
# If you change these, please update the man-pages too
# Only absolute paths here, please
-SPOOLDIR = /var/spool/anacron
-ANACRONTAB = /etc/anacrontab
+SPOOLDIR = $(PREFIX)/var/spool/anacron
+ANACRONTAB = $(PREFIX)/etc/anacrontab
package_name = anacron-$(RELEASE)
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL)
-INSTALL_DIR = $(INSTALL) -d
+INSTALL_PROGRAM = $(INSTALL) -m 0755
+INSTALL_DATA = $(INSTALL) -m 0644
+INSTALL_DIR = $(INSTALL) -d -m 0755
ALL_CPPFLAGS = -DSPOOLDIR=\"$(SPOOLDIR)\" -DRELEASE=\"$(RELEASE)\" \
-DANACRONTAB=\"$(ANACRONTAB)\" $(CPPFLAGS)
- $(INSTALL_DIR) $(BINDIR) $(PREFIX)$(SPOOLDIR) \
+ $(INSTALL_DIR) $(BINDIR) $(SPOOLDIR) \
$(MANDIR)/man5 $(MANDIR)/man8