[darcs-users] darcs patch: Use $@ to avoid repetition in makefile.

Jason Dagit dagit at codersbase.com
Thu Oct 23 02:42:44 UTC 2008


On Wed, Oct 22, 2008 at 7:35 PM, Trent W. Buck <trentbuck at gmail.com> wrote:
> Instead of foo:\n\tbar >foo, use foo:\n\tbar >$@.

Cool.

> Thu Oct 23 13:34:47 EST 2008  Trent W. Buck <trentbuck at gmail.com>
>  * Use $@ to avoid repetition in makefile.

Hmm...Maybe I'm misreading the attached file but I think it's been
mangled.  For example:
- -	./preproc darcs.lhs $(PREPROCHTML) > src/darcs.tex
+	./preproc darcs.lhs $(PREPROCHTML) >$@

Why does the removed line start with "- -" instead of "-".

Other than that, I think this looks good.

Thanks,
Jason


More information about the darcs-users mailing list