From 7d59dee4690297154f6924a04949413ddea8a17b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 19 Aug 2014 15:02:12 -0400 Subject: local repo fully working now --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3