(elfutils-portability.patch): Fix up rule commands so it works.

This commit is contained in:
roland 2005-07-21 09:09:19 +00:00
parent 6a3b889baf
commit 6a3517ade1

View File

@ -1,5 +1,5 @@
# Makefile for source rpm: elfutils
# $Id: Makefile,v 1.3 2005/05/10 05:57:44 roland Exp $
# $Id: Makefile,v 1.4 2005/06/09 22:29:12 roland Exp $
NAME := elfutils
SPECFILE = $(firstword $(wildcard *.spec))
@ -12,11 +12,11 @@ master-cvsroot = :gserver:cvs.devel.redhat.com:/cvs/devel
elfutils-portability.patch: elfutils-$(VERSION).tar.gz
@rm -rf elfutils-master elfutils-portable
cvs -d $(master-cvsroot) -Q export \
-d elfutils-master elfutils
-d elfutils-master -r HEAD elfutils/elfutils
cvs -d $(master-cvsroot) -Q export \
-d elfutils-portable -r portable-branch elfutils
cd elfutils-master; autoreconf
cd elfutils-portable; autoreconf
-d elfutils-portable -r portable-branch elfutils/elfutils
cd elfutils-master; autoreconf; rm -rf autom4te.cache
cd elfutils-portable; autoreconf; rm -rf autom4te.cache
diff -rpu elfutils-master elfutils-portable | \
filterdiff --remove-timestamps --strip=1 --addprefix=elfutils/ > $@.new
mv $@.new $@