|
|
|
@ -4,7 +4,7 @@ NAME := ghc
|
|
|
|
|
SPECFILE = $(NAME).spec
|
|
|
|
|
|
|
|
|
|
define find-makefile-common
|
|
|
|
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
|
|
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
|
|
|