/[pkgs]/rpms/fedora-release/OLPC-3/Makefile
ViewVC logotype

Contents of /rpms/fedora-release/OLPC-3/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Sep 10 22:26:31 2008 UTC (14 months, 1 week ago) by cscott
Branch: MAIN
CVS Tags: fedora-release-9-5_transition_1, HEAD
Changes since 1.2: +1 -0 lines
Update OLPC-3 fork to match f9 9-5.transition package.
1 # Makefile for source rpm: fedora-release
2 # $Id$
3 NAME := fedora-release
4 SPECFILE = $(firstword $(wildcard *.spec))
5 MOCKCFG = olpc-3-i386
6
7 define find-makefile-common
8 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
9 endef
10
11 MAKEFILE_COMMON := $(shell $(find-makefile-common))
12
13 ifeq ($(MAKEFILE_COMMON),)
14 # attempt a checkout
15 define checkout-makefile-common
16 test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
17 endef
18
19 MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
20 endif
21
22 include $(MAKEFILE_COMMON)

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2