Ignore:
Timestamp:
Oct 24, 2007, 5:20:50 PM (14 years ago)
Author:
charles
Message:

get "make distcheck" working again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/Makefile.am

    r3169 r3528  
    44
    55noinst_LIBRARIES = libtransmission.a
    6 
    7 EXTRA_DIST = version.h.in
    86
    97libtransmission_a_SOURCES = \
     
    7674    upnp.h \
    7775    utils.h \
     76    version.h \
    7877    xml.h
     78
     79EXTRA_DIST = \
     80        version.h.in
     81
     82do_subst = sed \
     83        -e 's,[@]PEERID_PREFIX[@],$(PEERID_PREFIX),g' \
     84        -e 's,[@]USERAGENT_PREFIX[@],$(USERAGENT_PREFIX),g' \
     85        -e 's,[@]SVN_REVISION[@],$(SVN_REVISION),g' \
     86        -e 's,[@]SHORT_VERSION_STRING[@],$(SHORT_VERSION_STRING),g' \
     87        -e 's,[@]LONG_VERSION_STRING[@],$(LONG_VERSION_STRING),g'
     88
     89version.h: version.h.in
     90        $(do_subst) < $(srcdir)/version.h.in > version.h
     91
     92CLEANFILES = \
     93        version.h
Note: See TracChangeset for help on using the changeset viewer.