5 |
# Copyright (C) 2004-2005 Red Hat, Inc. |
# Copyright (C) 2004-2005 Red Hat, Inc. |
6 |
# Copyright (C) 2005 Fedora Foundation |
# Copyright (C) 2005 Fedora Foundation |
7 |
# |
# |
8 |
# $Id: Makefile.common,v 1.12 2008/03/28 14:38:42 slords Exp $ |
# $Id: Makefile.common,v 1.16 2010/02/20 20:10:22 slords Exp $ |
9 |
|
|
10 |
# Define the common dir. |
# Define the common dir. |
11 |
# This needs to happen first. |
# This needs to happen first. |
46 |
BUILDDIR ?= $(WORKDIR) |
BUILDDIR ?= $(WORKDIR) |
47 |
RPMDIR ?= $(WORKDIR) |
RPMDIR ?= $(WORKDIR) |
48 |
MOCKDIR ?= $(WORKDIR) |
MOCKDIR ?= $(WORKDIR) |
49 |
MOCKCFG ?= smeserver-$(SMEVAL)-$(BUILDARCH)-core |
MOCKCFG ?= smeserver-$(SMEVAL)-$(BUILDARCH)-base |
50 |
## SOURCEDIR is special; it has to match the CVS checkout directory, |
## SOURCEDIR is special; it has to match the CVS checkout directory, |
51 |
## because the CVS checkout directory contains the patch files. So it basically |
## because the CVS checkout directory contains the patch files. So it basically |
52 |
## can't be overridden without breaking things. But we leave it a variable |
## can't be overridden without breaking things. But we leave it a variable |
94 |
endif |
endif |
95 |
|
|
96 |
# The repository and the clients we use for the files |
# The repository and the clients we use for the files |
97 |
REPOSITORY ?= http://lordsfam.net/yum/builds/source |
REPOSITORY ?= http://buildsys.contribs.org/source |
98 |
UPLOAD_REPOSITORY ?= /builds/source |
UPLOAD_REPOSITORY ?= /builds/source |
99 |
|
|
100 |
# We define CURL and WGET in a way that makes if possible to have them |
# We define CURL and WGET in a way that makes if possible to have them |
291 |
|
|
292 |
CVS_ROOT := $(shell if [ -f CVS/Root ] ; then cat CVS/Root ; fi) |
CVS_ROOT := $(shell if [ -f CVS/Root ] ; then cat CVS/Root ; fi) |
293 |
CVS_REPOSITORY := $(shell if [ -f CVS/Repository ] ; then cat CVS/Repository ; fi) |
CVS_REPOSITORY := $(shell if [ -f CVS/Repository ] ; then cat CVS/Repository ; fi) |
294 |
CVS_URL := cvs://smeserver.cvs.sourceforge.net:/cvsroot/smeserver?$(CVS_REPOSITORY)\#$(TAG) |
CVS_URL := cvs://smeserver.cvs.sourceforge.net/cvsroot/smeserver?$(CVS_REPOSITORY)\#$(TAG) |
295 |
|
|
296 |
## create a clean exported copy in $(TMPCVS) |
## create a clean exported copy in $(TMPCVS) |
297 |
export:: sources |
export:: sources |