2004-09-09 04:28:54 +00:00
|
|
|
# Makefile for source rpm: elfutils
|
|
|
|
# $Id$
|
|
|
|
NAME := elfutils
|
|
|
|
SPECFILE = $(firstword $(wildcard *.spec))
|
|
|
|
|
2005-06-09 22:29:12 +00:00
|
|
|
TARGETS += elfutils-portability.patch
|
|
|
|
|
2004-09-09 04:28:54 +00:00
|
|
|
include ../common/Makefile.common
|
2005-05-08 22:43:51 +00:00
|
|
|
|
2005-06-09 22:29:12 +00:00
|
|
|
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 \
|
2005-07-21 09:09:19 +00:00
|
|
|
-d elfutils-master -r HEAD elfutils/elfutils
|
2005-06-09 22:29:12 +00:00
|
|
|
cvs -d $(master-cvsroot) -Q export \
|
2005-07-21 09:09:19 +00:00
|
|
|
-d elfutils-portable -r portable-branch elfutils/elfutils
|
|
|
|
cd elfutils-master; autoreconf; rm -rf autom4te.cache
|
|
|
|
cd elfutils-portable; autoreconf; rm -rf autom4te.cache
|
2005-06-09 22:29:12 +00:00
|
|
|
diff -rpu elfutils-master elfutils-portable | \
|
2005-05-10 05:57:44 +00:00
|
|
|
filterdiff --remove-timestamps --strip=1 --addprefix=elfutils/ > $@.new
|
2005-05-08 22:43:51 +00:00
|
|
|
mv $@.new $@
|