summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2014-08-19 15:02:12 -0400
committerJoey Hess2014-08-19 15:02:12 -0400
commit7d59dee4690297154f6924a04949413ddea8a17b (patch)
tree988d0a3e67a0164b2f39ab22683a089f8b6eef95 /Makefile
parentb6c5f547419ce95d20453f30403e1a5860720fe6 (diff)
local repo fully working now
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 20087723..2321d021 100644
--- a/Makefile
+++ b/Makefile
@@ -23,9 +23,13 @@ install:
install -d $(DESTDIR)/usr/bin $(DESTDIR)/usr/src/propellor
install -s dist/build/propellor/propellor $(DESTDIR)/usr/bin/propellor
$(CABAL) sdist
- cat dist/propellor-*.tar.gz | \
- (cd $(DESTDIR)/usr/src/propellor && tar zx --strip-components=1)
- cd $(DESTDIR)/usr/src/propellor && git init && git add . && git commit -m "current version of propellor"
+ mkdir -p dist/gittmp
+ cat dist/propellor-*.tar.gz | (cd dist/gittmp && tar zx --strip-components=1)
+ cd dist/gittmp && git init && \
+ git add . \
+ && git commit -m "distributed version of propellor" \
+ && git bundle create $(DESTDIR)/usr/src/propellor/propellor.git master HEAD
+ rm -rf dist/gittmp
clean:
rm -rf dist Setup tags propellor privdata/local