# Makefile for source rpm: dkms NAME := dkms 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)) # We just rebuild the upstream SRPM here, as a generic package without dist tag FROM_DIST = fc6 TO_DIST = fc6 MOCK_OPTIONS = --define 'dist %{nil}' --define '_initddir /etc/rc.d/init.d' RPM_DEFINES = $(STD_RPM_DEFINES) --define 'dist %{nil}' include $(MAKEFILE_COMMON)