[Remind-Fans] daemon mode - include file update
Tarlika Elisabeth Schmitz
remind at numerixtechnology.de
Thu Mar 19 10:05:43 EDT 2009
On Thu, 19 Mar 2009 07:21:36 +0100
Christoph Scheurer <christoph.scheurer at web.de> wrote:
> Hi,
>
> > > > > You could touch it from a cron job so ...
> > > If you use a directory with your main reminders file and all the
> > > included files you can express the dependencies easily with a
> > > Makefile [...]
> > "make: Circular reminders <- reminders dependency dropped."
> >
> > Presumably this happens because main is dependency as well as
> > target. Is there a way to exclude main from the include list?
>
> You can avoid that by filtering out the main reminders file like this:
>
> reminders: $(filter-out $@, $(REMIND_INCLUDES))
> @touch $@
REMIND_INCLUDES = $(wildcard *)
main: $(filter-out $@, $(REMIND_INCLUDES))
@touch $@
This works but I am still getting the above error.
--
Best Regards,
Tarlika Elisabeth Schmitz
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?
More information about the Remind-fans
mailing list