/[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.9 by slords, Mon Dec 24 17:32:14 2007 UTC Revision 1.11 by slords, Wed Mar 12 04:42:51 2008 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.5 2007/12/24 16:50:52 slords Exp $  # $Id: Makefile.common,v 1.10 2007/12/24 17:33:50 slords Exp $
9    
10  # Define the common dir.  # Define the common dir.
11  # This needs to happen first.  # This needs to happen first.
# Line 139  ARCHES = noarch i386 i586 i686 x86_64 ia Line 139  ARCHES = noarch i386 i586 i686 x86_64 ia
139  PREP_ARCHES     = $(addprefix prep-,$(ARCHES))  PREP_ARCHES     = $(addprefix prep-,$(ARCHES))
140    
141  ## list all our bogus targets  ## list all our bogus targets
142  .PHONY :: $(ARCHES) sources uploadsource upload export check build-check plague koji build test-srpm srpm tag force-tag verrel new clean patch prep compile install-short compile-short FORCE local  .PHONY :: $(ARCHES) commit sources uploadsource upload export check build-check plague koji build test-srpm srpm tag force-tag verrel new clean patch prep compile install-short compile-short FORCE local
143    
144  # The TARGETS define is meant for local module targets that should be  # The TARGETS define is meant for local module targets that should be
145  # made in addition to the SOURCEFILES whenever needed  # made in addition to the SOURCEFILES whenever needed
# Line 398  rediff: Line 398  rediff:
398  clog: $(SPECFILE)  clog: $(SPECFILE)
399          @sed -n '/^%changelog/,/^$$/{/^%/d;/^$$/d;s/%%/%/g;p}' $(SPECFILE) | tee $@          @sed -n '/^%changelog/,/^$$/{/^%/d;/^$$/d;s/%%/%/g;p}' $(SPECFILE) | tee $@
400    
401    commit: clog
402            @cvs commit -F $?
403    
404  help:  help:
405          @echo "Usage: make <target>"          @echo "Usage: make <target>"
406          @echo "Available targets are:"          @echo "Available targets are:"
# Line 420  help: Line 423  help:
423          @echo " verrel                  Echo \"$(NAME)-$(VERSION)-$(RELEASE)\""          @echo " verrel                  Echo \"$(NAME)-$(VERSION)-$(RELEASE)\""
424          @echo " new                     Diff against last tag"          @echo " new                     Diff against last tag"
425          @echo " clog                    Make a clog file containing top changelog entry"          @echo " clog                    Make a clog file containing top changelog entry"
426            @echo " commit                  Commit to CVS using the clog file as the log message"
427          @echo " clean                   Remove srcs ($(SOURCEFILES)), export dir (cvs-$(TAG)) and srpm ($(NAME)-$(VERSION)-$(RELEASE).src.rpm)"          @echo " clean                   Remove srcs ($(SOURCEFILES)), export dir (cvs-$(TAG)) and srpm ($(NAME)-$(VERSION)-$(RELEASE).src.rpm)"
428          @echo " patch SUFFIX=<suff>     Create and add a gendiff patch file"          @echo " patch SUFFIX=<suff>     Create and add a gendiff patch file"
429          @echo " rediff SUFFIX=<suff>    Recreates a gendiff patch file, retaining comments"          @echo " rediff SUFFIX=<suff>    Recreates a gendiff patch file, retaining comments"
# Line 552  $(addsuffix .md5,$(UPSTREAM_FILES)): %.m Line 556  $(addsuffix .md5,$(UPSTREAM_FILES)): %.m
556          @$(check-upstream-md5sum)          @$(check-upstream-md5sum)
557    
558  # We keep all the relevant GPG keys in the upstream-key.gpg so we can  # We keep all the relevant GPG keys in the upstream-key.gpg so we can
559  # check the signatures....  # check the signatures...
560  import-upstream-gpg : upstream-key.gpg FORCE  import-upstream-gpg : upstream-key.gpg FORCE
561          mkdir -p $(HOME)/.gnupg          mkdir -p $(HOME)/.gnupg
562          gpg --quiet --import --no-secmem-warning --no-permission-warning $< || :          gpg --quiet --import --no-secmem-warning --no-permission-warning $< || :


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