elfutils/Makefile
2005-05-08 22:43:51 +00:00

18 lines
537 B
Makefile

# Makefile for source rpm: elfutils
# $Id$
NAME := elfutils
SPECFILE = $(firstword $(wildcard *.spec))
include ../common/Makefile.common
elfutils-portability.patch: elfutils-$(VERSION).tar.gz portable.patch
rm -rf elfutils-$(VERSION) elfutils-$(VERSION).orig
tar xzf $<
mv elfutils-$(VERSION) elfutils-$(VERSION).orig
tar xzf $<
patch -p1 -d elfutils-$(VERSION) < portable.patch
cd elfutils-$(VERSION); autoreconf
diff -rpu elfutils-$(VERSION).orig elfutils-$(VERSION) | \
filterdiff --remove-timestamps > $@.new
mv $@.new $@