[pkg-haskell-tools] 01/01: Make sure lab/cache/all-binaries.txt is up-to-date

Joachim Breitner nomeata at moszumanska.debian.org
Fri Aug 14 21:40:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch master
in repository pkg-haskell-tools.

commit b3e3e20dd407c82ede37e00ef943e00c7bf792bf
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Aug 14 22:43:05 2015 +0200

    Make sure lab/cache/all-binaries.txt is up-to-date
    
    but use orderOnly, to not make it a real dependency.
---
 src/make-all.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/make-all.hs b/src/make-all.hs
index 631755b..5cb2c59 100644
--- a/src/make-all.hs
+++ b/src/make-all.hs
@@ -373,6 +373,7 @@ shakeMain conf@(Conf {..}) = do
         -- Make sure the build uses only them
         -- Do not use readFileLines or readFile', lest we rebuild everything
         -- if the set of packages changes.
+        orderOnly [targetDir </> "cache" </> "all-binaries.txt"]
         expectedDeps <- S.fromList . lines <$> liftIO (readFile (targetDir </> "cache" </> "all-binaries.txt"))
         localDebs <-
             filter (`S.member` expectedDeps) .

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/pkg-haskell-tools.git



More information about the Pkg-haskell-commits mailing list