Rejigger patch generation magic for git.
This commit is contained in:
parent
9d47a05fbc
commit
69a951ae90
21
Makefile
21
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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user