Changeset 262 for trunk/Makefile


Ignore:
Timestamp:
May 29, 2006, 9:58:22 PM (16 years ago)
Author:
titer
Message:

Get revision at build time

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        11Makefile.config
         2Makefile.version
        23.depend
        34build
  • trunk/Makefile

    r261 r262  
    22
    33-include Makefile.config
    4 include Makefile.common
    5 
    64ifndef CONFIGURE_RUN
    75$(error You must run ./configure first)
    86endif
     7
     8-include Makefile.version
     9include Makefile.common
    910
    1011ifneq ($(SYSTEM),Darwin)
     
    2021all: $(TARGETS)
    2122
    22 .lib:
     23.lib: .version
    2324        @echo "* Building libtransmission"
    2425        @$(MAKE) -C libtransmission
     
    6061else
    6162
    62 all:
     63all: .version
    6364        @$(MAKE) -C macosx
    6465        @xcodebuild -alltargets -activeconfiguration | grep -v "^$$"
     
    9899
    99100endif
     101
     102Makefile.version: .version
     103
     104.version:
     105        @echo "Checking SVN revision..."
     106        @./version.sh
Note: See TracChangeset for help on using the changeset viewer.