[pkg-haskell-tools] 02/02: make-all: new phony target “all-sources”
Joachim Breitner
nomeata at moszumanska.debian.org
Fri Aug 21 13:43:50 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 6a6a7d3bf7f9f2e9e65ee04bdfea1cdcea96658c
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Fri Aug 21 11:35:37 2015 +0200
make-all: new phony target “all-sources”
---
src/make-all.hs | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/make-all.hs b/src/make-all.hs
index 960da5c..b1b6597 100644
--- a/src/make-all.hs
+++ b/src/make-all.hs
@@ -428,6 +428,13 @@ shakeMain conf@(Conf {..}) = do
changesFiles <- readFileLines $ targetDir </> "cache/all-changes-files.txt"
need [ targetDir </> l | l <- changesFiles]
+ "all-sources" ~> do
+ sources <- readFileLines $ targetDir </> "cache/sources.txt"
+ versioned <- forM sources $ \s -> do
+ v <- versionOfSource s
+ return (s,v)
+ need $ [ targetDir </> sourceFileName s v | (s,v) <- versioned ]
+
-- Binary packages depend on the corresponding changes file log
targetDir </> "*.deb" %> \out -> do
let filename = takeFileName out
--
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