[darcs-users] MODULES_FOO in makefile -- stale or clever?

Trent W. Buck trentbuck at gmail.com
Thu Oct 23 03:28:11 UTC 2008

trentbuck at gmail.com (Trent W. Buck) writes:

> Near the top of GNUmakefile are a whole bunch of MODULE_FOO declarations
> which are only used by the DARCS_FILES declaration.
> I was going to replace the whole lot with
> DARCS_FILES := $(shell find src -name '[A-Z]*.lhs' -o -name '[A-Z]*.hs')
> ...but I discovered that find includes several extra files that weren't
> in the hard-coded list.  The question is: are these files omitted from
> the existing list for a reason, or is it just that someone added those
> files and forgot to update the makefile?
>     +src/Darcs/Patch/Check.lhs
>     +src/Darcs/Patch/Properties.lhs
>     +src/Darcs/Patch/QuickCheck.lhs
>     +src/Darcs/Patch/Test.lhs
>     +src/Darcs/Patch/Unit.lhs
>     +src/DateTester.lhs
>     +src/win32/CtrlC.hs
>     +src/win32/System/Posix.hs

Never mind, I see these are all in UNIT_FILES.

More information about the darcs-users mailing list