Changeset 8df704f for Makefile.am


Ignore:
Timestamp:
Nov 7, 2009, 9:14:36 PM (15 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
01846ce
Parents:
6c81223
git-author:
Nelson Elhage <nelhage@mit.edu> (11/07/09 18:29:39)
git-committer:
Nelson Elhage <nelhage@mit.edu> (11/07/09 21:14:36)
Message:
Take the version number from git if we're building in a git tree.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r76f0e19 r8df704f  
    11ACLOCAL_AMFLAGS = -I m4
     2
     3GIT_FLAGS=$(if $(wildcard .git),-DGIT_VERSION=$(subst barnowl-,,$(shell git describe --match='barnowl-*' HEAD)))
    24
    35bin_PROGRAMS = barnowl.bin
     
    2830
    2931CPPFLAGS = -I$(top_srcdir)/ \
    30            -I$(top_srcdir)/libfaim/
     32           -I$(top_srcdir)/libfaim/ \
     33           $(GIT_FLAGS)
    3134
    3235BASE_SRCS=list.c message.c mainwin.c popwin.c zephyr.c messagelist.c \
Note: See TracChangeset for help on using the changeset viewer.