# Makefile for source rpm: trac-accountmanager-plugin NAME := trac-accountmanager-plugin 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)) # Require 1.2 > trac ≥ 0.12; still no trac in EPEL-7 as of Feb 2015 DIST_REGEX = '^(rhel6|fc1[5-9]|fc2[0-5])\.' include $(MAKEFILE_COMMON)