/[smeserver]/common/Makefile.common
ViewVC logotype

Diff of /common/Makefile.common

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.17 by slords, Tue Mar 16 15:38:36 2010 UTC Revision 1.21 by jpp, Wed Jun 8 18:49:05 2022 UTC
# Line 5  Line 5 
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.16 2010/02/20 20:10:22 slords Exp $  # $Id: Makefile.common,v 1.20 2017/11/24 18:53:43 jpp Exp $
9    
10  # Define the common dir.  # Define the common dir.
11  # This needs to happen first.  # This needs to happen first.
# Line 26  TARGET := $(word 1, $(BRANCHINFO)) Line 26  TARGET := $(word 1, $(BRANCHINFO))
26  DIST = $(word 2, $(BRANCHINFO))  DIST = $(word 2, $(BRANCHINFO))
27  DISTVAR = $(word 3, $(BRANCHINFO))  DISTVAR = $(word 3, $(BRANCHINFO))
28  DISTVAL = $(word 4, $(BRANCHINFO))  DISTVAL = $(word 4, $(BRANCHINFO))
29  DISTDEF = $(shell echo  $(DIST) | sed -e s/^\\\.// )  DISTDEF = $(shell echo  $(DIST) | sed -e s/^\\\.//| sed -e s/\\\./_/ )
30  SMEVAL = $(word 5, $(BRANCHINFO))  SMEVAL = $(word 5, $(BRANCHINFO))
31  DIST_DEFINES = --define "dist $(DIST)" --define "$(DISTVAR) $(DISTVAL)" --define "$(DISTDEF) 1" --define "sme $(SMEVAL)"  DIST_DEFINES = --define "dist $(DIST)" --define "$(DISTVAR) $(DISTVAL)" --define "$(DISTDEF) 1" --define "sme $(SMEVAL)"
32    
# Line 95  endif Line 95  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://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
# Line 291  install-short: sources $(TARGETS) Line 291  install-short: sources $(TARGETS)
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://shell.koozali.org/cvs/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
# Line 322  check: test-srpm Line 322  check: test-srpm
322          done;          done;
323    
324  ## use this to build an srpm locally  ## use this to build an srpm locally
325    ifneq (, $(filter sme7 sme8, $(BRANCH)))
326    srpm: sources $(TARGETS)
327            $(RPM_WITH_DIRS) $(DIST_DEFINES) --define _source_filedigest_algorithm=md5 --nodeps -bs $(SPECFILE)
328    else
329  srpm: sources $(TARGETS)  srpm: sources $(TARGETS)
330          $(RPM_WITH_DIRS) $(DIST_DEFINES) --nodeps -bs $(SPECFILE)          $(RPM_WITH_DIRS) $(DIST_DEFINES) --nodeps -bs $(SPECFILE)
331    endif
332    
333  test-srpm: srpm  test-srpm: srpm
334    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed