# Makefile for source rpm: tidy NAME := tidy 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)) # Pull in tidy from Fedora from F-24, EL-7 onwards (new cmake-based upstream) TO_DIST = fc23 DIST_REGEX='^(fc|rhel[^7])' include $(MAKEFILE_COMMON)