diff --git a/xwords4/wince/Makefile b/xwords4/wince/Makefile index 53f98c603..513b59e77 100644 --- a/xwords4/wince/Makefile +++ b/xwords4/wince/Makefile @@ -58,6 +58,10 @@ CFLAGS += -DARM -I$(MINGW_INC_PATH) -I./ -I../common -I../relay CFLAGS += -Wall +SVNDEF = -DSVN_REV='\"$(shell svnversion -n .)\"' +CFLAGS += $(SVNDEF) +RESFLAGS += $(SVNDEF) + # warn upgrading users of new dict location CFLAGS += -DDICTS_MOVED_ALERT @@ -142,6 +146,10 @@ $(OBJDIR)/%.o : ../common/%.c $(INCLUDES) $(OBJDIR)/xwords4.rc.o : xwords4.rc $(INCLUDES) $(WINDRES) -v -I$(MINGW_INC_PATH) $(RESFLAGS) -o $@ $< +CAB: $(TARGET) + $(STRIP) $< + ./exe2cab.pl $< + SHIP: $(TARGET) $(STRIP) $< ifdef WINCE_UPLOAD_LOC diff --git a/xwords4/wince/xwords4.rc b/xwords4/wince/xwords4.rc index febeb6397..39c71147b 100755 --- a/xwords4/wince/xwords4.rc +++ b/xwords4/wince/xwords4.rc @@ -147,12 +147,13 @@ CAPTION "About Crosswords" FONT 8, "System" BEGIN ICON IDI_XWORDS4,IDC_STATIC,8,17,20,20 - LTEXT "Crosswords 4.1b7 for PocketPC. Copyright 1998-2006 by "\ + LTEXT "Crosswords 4.1b7 (rev " SVN_REV ") "\ + "for PocketPC. Copyright 1998-2006 by "\ "Eric House. This software is released under the GNU "\ "Public License.\r\r"\ "For dictionaries, a manual, or source code go to "\ "http://xwords.sf.net.", - IDC_STATIC,32,10,86,101,SS_NOPREFIX + IDC_STATIC,32,4,86,101,SS_NOPREFIX END #ifdef CEFEATURE_CANSCROLL