remove Build/SysConfig.hs target
authorJoey Hess <joeyh@joeyh.name>
Tue, 21 Feb 2017 17:55:41 +0000 (13:55 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 21 Feb 2017 17:55:41 +0000 (13:55 -0400)
commit3af9f5ed1a54f1df12f85f613826040e5e855817
treeffb2171c2d8e9db2670addaa779ed2f95825eaac
parent69f7b8af48a282ef3d63f1679e64fadf9a35aec3
remove Build/SysConfig.hs target

The problem with that target was, if a target like git-annex that
depended on it failed for some reason, make would delete
Build/SysConfig.hs, since it knows it's an intermediate file. But, since
stack only builds that file once, that caused all subsequent make git-annex
builds to fail.

Also, this avoids a double stack build when building with stack. Since
stack has no configure stage, and the Build/SysConfig.hs target was
about running the configure stage, the only way to only build once is to
combine the targets like this.

This should work better on the autobuilders that build with stack.

This commit was sponsored by NSF-funded DataLad project
Makefile