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.9 2010/03/16 15:41:16 slords Exp $ |
# $Id: Makefile.common,v 1.11 2012/08/03 16:54:08 slords Exp $ |
9 |
|
|
10 |
# Define the common dir. |
# Define the common dir. |
11 |
# This needs to happen first. |
# This needs to happen first. |
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://buildsys.contribs.org/source |
REPOSITORY ?= http://buildsys.contribs.org/source |
98 |
UPLOAD_REPOSITORY ?= /builds/source |
UPLOAD_REPOSITORY ?= /build/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 |
101 |
# overwritten from the module's Makefiles. Then CLIENT picks CURL, otherwise WGET |
# overwritten from the module's Makefiles. Then CLIENT picks CURL, otherwise WGET |
322 |
done; |
done; |
323 |
|
|
324 |
## use this to build an srpm locally |
## use this to build an srpm locally |
325 |
ifneq (, $(filter contribs7 contribs8, $(BRANCH))) |
ifneq (, $(filter contribs7 contribs8 contribs9, $(BRANCH))) |
326 |
srpm: sources $(TARGETS) |
srpm: sources $(TARGETS) |
327 |
$(RPM_WITH_DIRS) $(DIST_DEFINES) --define _source_filedigest_algorithm=md5 --nodeps -bs $(SPECFILE) |
$(RPM_WITH_DIRS) $(DIST_DEFINES) --define _source_filedigest_algorithm=md5 --nodeps -bs $(SPECFILE) |
328 |
else |
else |
417 |
BODHI_USER=$(USER) |
BODHI_USER=$(USER) |
418 |
endif |
endif |
419 |
|
|
420 |
ifneq (, $(filter contribs7 contribs8, $(BRANCH))) |
ifneq (, $(filter contribs7 contribs8 contribs9, $(BRANCH))) |
421 |
update: bodhi |
update: bodhi |
422 |
endif |
endif |
423 |
|
|