elfutils/Makefile

18 lines
569 B
Makefile
Raw Normal View History

2004-09-09 04:28:54 +00:00
# Makefile for source rpm: elfutils
# $Id$
NAME := elfutils
SPECFILE = $(firstword $(wildcard *.spec))
include ../common/Makefile.common
2005-05-08 22:43:51 +00:00
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) | \
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 $@