Incorporate svnversion output in About box; add CAB target

This commit is contained in:
ehouse 2006-05-14 15:22:48 +00:00
parent 94b46bc6c6
commit afa496cb19
2 changed files with 11 additions and 2 deletions

View file

@ -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

View file

@ -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