Changeset ddf1fc0 for Makefile.am


Ignore:
Timestamp:
07/29/10 15:47:43 (10 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
efbb6dd
Parents:
7b29593
Message:
  • Only overwrite the SVN_REVISION number if we have svnversion available!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    ra1b899f rddf1fc0  
    2222
    2323dist-hook:
    24         r=`svnversion -nc . | sed -e 's/^[^:]*://;s/[A-Za-z]//'` ;\
    25         sed -i "s/SVN_REVISION.*/SVN_REVISION $$r/" $(distdir)/lib/libtrace.h.in
     24        if which svnversion > /dev/null; then \
     25                r=`svnversion -nc . | sed -e 's/^[^:]*://;s/[A-Za-z]//'` ;\
     26                sed -i "s/SVN_REVISION.*/SVN_REVISION $$r/" $(distdir)/lib/libtrace.h.in \
     27        fi
    2628
    2729if HAS_DOXYGEN
Note: See TracChangeset for help on using the changeset viewer.