monotone is the new black

This commit is contained in:
roland 2005-07-29 00:12:10 +00:00
parent 8e95b1238c
commit b60c5a72ed
1 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,5 @@
# Makefile for source rpm: elfutils
# $Id: Makefile,v 1.4 2005/06/09 22:29:12 roland Exp $
# $Id: Makefile,v 1.5 2005/07/21 09:09:19 roland Exp $
NAME := elfutils
SPECFILE = $(firstword $(wildcard *.spec))
@ -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 $@