summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2016-04-02 01:29:23 -0400
committerJoey Hess2016-04-02 01:48:04 -0400
commite3920861ee444945e54fd42ce0f599d585155652 (patch)
treed7297452d9cea6fa4a5f6bc82e69ed3560a641fb /Makefile
parente8d767448a64b0ad529015c7125d97811f9cbbd7 (diff)
Stack support.
* Stack support. "git config propellor.buildsystem stack" will make propellor build its config using stack. * When propellor is installed using stack, propellor --init will automatically set propellor.buildsystem=stack.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a9ad2b84..5322d6c5 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@ install:
mkdir -p dist/gittmp
$(CABAL) sdist
cat dist/propellor-*.tar.gz | (cd dist/gittmp && tar zx --strip-components=1)
+ cp stack.yaml dist/gittmp # also include in bundle
# cabal sdist does not preserve symlinks, so copy over file
cd dist/gittmp && for f in $$(find -type f); do rm -f $$f; cp -a ../../$$f $$f; done
# reset mtime on files in git bundle so bundle is reproducible