From 69a951ae90a666fbf1a46dfc1ad26418efb06c59 Mon Sep 17 00:00:00 2001 From: roland Date: Dec 24 2008 10:14:24 +0000 Subject: Rejigger patch generation magic for git. --- diff --git a/Makefile b/Makefile index 305a07f..42c2018 100644 --- a/Makefile +++ b/Makefile @@ -28,22 +28,19 @@ ifneq (,$(CURL)) CURL += -k endif -MONOTONE = mtn - branch-portability = portable -elfutils-base = t:elfutils-$(VERSION) +elfutils-base = elfutils-$(VERSION) +elfutils-base = master -elfutils-%.patch: elfutils-$(VERSION).tar.gz Makefile +elfutils-%.patch: elfutils-$(VERSION).tar.bz2 Makefile @rm -rf elfutils-master elfutils-$* -# $(MONOTONE) checkout -b com.redhat.elfutils elfutils-master - $(MONOTONE) checkout -b com.redhat.elfutils \ - -r $(elfutils-base) elfutils-master - $(MONOTONE) checkout \ - -b com.redhat.elfutils.$(firstword $(branch-$*) $*) \ - elfutils-$* - cd elfutils-master; autoreconf -i; rm -rf autom4te.cache _MTN - cd elfutils-$*; autoreconf -i; rm -rf autom4te.cache _MTN + git archive --prefix=elfutils-master/ $(elfutils-base) \ + | tar xf - + git archive --prefix=elfutils-$*/ $(firstword $(branch-$*) $*) \ + | tar xf - + cd elfutils-master; autoreconf -i; rm -rf autom4te.cache + cd elfutils-$*; autoreconf -i; rm -rf autom4te.cache diff -Nrpu elfutils-master elfutils-$* | \ filterdiff --remove-timestamps --strip=1 --addprefix=elfutils/ > $@.new mv $@.new $@