subwcrev for linux equivalent
#6
I'm not a makefile specialist. If you put this in the GNUmakefile WCVersion.h gets generated with the info but I don't know where to put it in GNUMakefile to get it to work everytime...

Code:
WCVersion.h:
        @rm -f WCVersion.h
        @echo -ne "#define WCREV " > WCVersion.h
        @svnversion -n . >> WCVersion.h
Reply
Thanks given by:


Messages In This Thread
subwcrev for linux equivalent - by xoft - 02-26-2012, 11:08 PM
RE: subwcrev for linux equivalent - by tbar - 02-27-2012, 04:46 PM
RE: subwcrev for linux equivalent - by xoft - 02-28-2012, 10:30 PM
RE: subwcrev for linux equivalent - by tbar - 02-29-2012, 05:43 AM
RE: subwcrev for linux equivalent - by xoft - 02-29-2012, 06:03 AM
RE: subwcrev for linux equivalent - by tbar - 02-29-2012, 06:45 AM
RE: subwcrev for linux equivalent - by xoft - 03-14-2012, 07:38 PM



Users browsing this thread: 1 Guest(s)