~avsej/libmemcached/touch-command

« back to all changes in this revision

Viewing changes to m4/pandora_vc_build.m4

  • Committer: Brian Aker
  • Date: 2011-01-11 19:55:33 UTC
  • mfrom: (901.1.4 fix-systemtap)
  • Revision ID: brian@tangent.org-20110111195533-z1rpmuiqh0gfwyi2
Merge in changes from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl  Copyright (C) 2009 Sun Microsystems
2
 
dnl This file is free software; Sun Microsystems
 
1
dnl  Copyright (C) 2009 Sun Microsystems, Inc.
 
2
dnl This file is free software; Sun Microsystems, Inc.
3
3
dnl gives unlimited permission to copy and/or distribute it,
4
4
dnl with or without modifications, as long as this notice is preserved.
5
5
 
36
36
])
37
37
 
38
38
AC_DEFUN([PANDORA_BUILDING_FROM_VC],[
39
 
  m4_syscmd(PANDORA_TEST_VC_DIR [
 
39
  m4_syscmd(PANDORA_TEST_VC_DIR
 
40
    m4_if(PCT_NO_VC_CHANGELOG,yes,[
 
41
      vc_changelog=no
 
42
      ],[
 
43
      vc_changelog=yes
 
44
      ])
 
45
  
 
46
    [
40
47
 
41
48
    PANDORA_RELEASE_DATE=`date +%Y.%m`
42
49
    PANDORA_RELEASE_NODOTS_DATE=`date +%Y%m`
53
60
        PANDORA_VC_REVNO="${PANDORA_BZR_REVNO}"
54
61
        PANDORA_VC_REVID=`bzr log -r-1 --show-ids | grep revision-id | cut -f2 -d' ' | head -1`
55
62
        PANDORA_VC_BRANCH=`bzr nick`
 
63
        if test "x${vc_changelog}" = "xyes"; then
 
64
          bzr log --gnu > ChangeLog
 
65
        fi
56
66
      fi
57
67
    fi
58
68