bleargh45678etc
This commit is contained in:
parent
5365334ac2
commit
4766442124
6
Makefile
6
Makefile
|
@ -23,9 +23,9 @@ install:
|
||||||
install -d $(DESTDIR)/usr/bin $(DESTDIR)/usr/src/propellor
|
install -d $(DESTDIR)/usr/bin $(DESTDIR)/usr/src/propellor
|
||||||
install -s dist/build/propellor/propellor $(DESTDIR)/usr/bin/propellor
|
install -s dist/build/propellor/propellor $(DESTDIR)/usr/bin/propellor
|
||||||
mkdir -p dist/gittmp
|
mkdir -p dist/gittmp
|
||||||
$(CABAL) sdist
|
$(CABAL) sdist | (cd dist/gittmp && tar x --strip-components=1)
|
||||||
tar tf dist/propellor-*.tar.gz | perl -ne 's!propellor-[^/]+/!!; print unless $_ eq "\n"' > dist/list-sources
|
# cabal sdist does not preserve symlinks, so copy over file
|
||||||
tar c -T dist/list-sources | (cd dist/gittmp && tar x)
|
cd dist/gittmp && for f in $$(find -type f); do rm -f $$f; cp -a ../../$$f $$f; done
|
||||||
cd dist/gittmp && git init && \
|
cd dist/gittmp && git init && \
|
||||||
git add . \
|
git add . \
|
||||||
&& git commit -q -m "distributed version of propellor" \
|
&& git commit -q -m "distributed version of propellor" \
|
||||||
|
|
Loading…
Reference in New Issue