# Makefile for source rpm: perl-Sendmail-Milter NAME := perl-Sendmail-Milter 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)) # Unmaintained code doesn't work in modern environments - use Sendmail::PMilter instead TO_DIST = fc8 # 64-bit builds don't work (except on RHEL3) DIST_REGEX = '\.32' include $(MAKEFILE_COMMON)