diff --git a/Makefile b/Makefile index 31816c2..526ea9c 100644 --- a/Makefile +++ b/Makefile @@ -7,16 +7,14 @@ TARGETS += elfutils-portability.patch include ../common/Makefile.common -master-cvsroot = :gserver:cvs.devel.redhat.com:/cvs/devel +MONOTONE = monotone elfutils-portability.patch: elfutils-$(VERSION).tar.gz @rm -rf elfutils-master elfutils-portable - cvs -d $(master-cvsroot) -Q export \ - -d elfutils-master -r HEAD elfutils/elfutils - cvs -d $(master-cvsroot) -Q export \ - -d elfutils-portable -r portable-branch elfutils/elfutils - cd elfutils-master; autoreconf; rm -rf autom4te.cache - cd elfutils-portable; autoreconf; rm -rf autom4te.cache + $(MONOTONE) checkout -b com.redhat.elfutils elfutils-master + $(MONOTONE) checkout -b com.redhat.elfutils.portable elfutils-portable + cd elfutils-master; autoreconf; rm -rf autom4te.cache MT + cd elfutils-portable; autoreconf; rm -rf autom4te.cache MT diff -rpu elfutils-master elfutils-portable | \ filterdiff --remove-timestamps --strip=1 --addprefix=elfutils/ > $@.new mv $@.new $@