From 3a0bd261d9cfd395ed23ff43515523e6c6658c33 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 14 Dec 2017 12:46:57 -0400 Subject: fold Build/SysConfig.hs into BuildInfo via include This avoids warnings from stack about the module not being listed in the cabal file. So, the generated file is also renamed to Build/SysConfig. Note that the setup program seems to be cached despite these changes; I had to cabal clean to get cabal to update it so that Build/SysConfig was written. This commit was sponsored by Jochen Bartl on Patreon. --- BuildInfo.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'BuildInfo.hs') diff --git a/BuildInfo.hs b/BuildInfo.hs index 79253ee4f..e00f27a96 100644 --- a/BuildInfo.hs +++ b/BuildInfo.hs @@ -1,4 +1,4 @@ -{- git-annex build info reporting +{- git-annex build info - - Copyright 2013-2017 Joey Hess - @@ -13,6 +13,8 @@ import Data.List import Data.Ord import qualified Data.CaseInsensitive as CI +#include "Build/SysConfig" + buildFlags :: [String] buildFlags = filter (not . null) [ "" -- cgit v1.2.3