# 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 trac ≥ 1.0, python2dist(babel) ≥ 0.9.5, python2dist(genshi) ≥ 0.6 DIST_REGEX = '^(fc2[6-9]|fc[3-9][0-9])\.' include $(MAKEFILE_COMMON)