Cleaning/adding man pages into Makefile/directories.
Makefile.in
Makefile
+anacron/Makefile
+anacron/Makefile.in
aclocal.m4
autom4te.cache
config.guess
configure
depcomp
install-sh
+man/Makefile
+man/Makefile.in
missing
stamp-h1
.deps
#init_SCRIPTS = cronie.init
-EXTRA_DIST = cronie.init crond.sysconfig regularly-jobs
+EXTRA_DIST = cronie.init crond.sysconfig contrib/regularly-jobs \
+ contrib/0anacron contrib/0hourly
--- /dev/null
+#!/bin/bash
+#in case file doesn't exist
+if test -x /var/spool/anacron/cron.daily; then
+ day=`cat /var/spool/anacron/cron.daily`
+fi
+if [ `date +%Y%m%d` = "$day" ]; then
+ exit 0;
+fi
+
+# in case anacron is already running,
+# there will be log (daemon won't be running twice).
+if test -x /usr/bin/on_ac_power; then
+ /usr/bin/on_ac_power &> /dev/null
+ if test $? -eq 1; then
+ exit 0
+ fi
+fi
+/usr/sbin/anacron -s
--- /dev/null
+SHELL=/bin/bash
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+MAILTO=root
+HOME=/
+01 * * * * root run-parts /etc/cron.hourly
-dist_man_MANS = crontab.1 crontab.5 cron.8 crond.8
+dist_man_MANS = crontab.1 crontab.5 cron.8 crond.8 anacrontab.5 anacron.8
noinst_MANS = bitstring.3