On Thu, 19 Mar 2009 07:21:36 +0100
Christoph Scheurer <[email protected]> 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? 
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.whatexit.org/mailman/listinfo/remind-fans

Reply via email to