# Makefile for source rpm: xz NAME := xz SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common for d in common ../common ../../common ../../../common ../../../../common ; do if [ -f $$d/trunk/Makefile.common ] ; then if [ -f $$d/trunk/.svn -a -w $$/Makefile.common ] ; then cd $$d/trunk ; svn update --quiet ; fi ; echo "$$d/trunk/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) # Fedora has an alpha release in F-16 and Rawhide # but I don't want to backport it to older releases # (test suite failures due to segfaults there too) FROM_DIST = fc16 include $(MAKEFILE_COMMON)