mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
Incorporate svnversion output in About box; add CAB target
This commit is contained in:
parent
94b46bc6c6
commit
afa496cb19
2 changed files with 11 additions and 2 deletions
|
@ -58,6 +58,10 @@ CFLAGS += -DARM -I$(MINGW_INC_PATH) -I./ -I../common -I../relay
|
||||||
|
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
|
|
||||||
|
SVNDEF = -DSVN_REV='\"$(shell svnversion -n .)\"'
|
||||||
|
CFLAGS += $(SVNDEF)
|
||||||
|
RESFLAGS += $(SVNDEF)
|
||||||
|
|
||||||
# warn upgrading users of new dict location
|
# warn upgrading users of new dict location
|
||||||
CFLAGS += -DDICTS_MOVED_ALERT
|
CFLAGS += -DDICTS_MOVED_ALERT
|
||||||
|
|
||||||
|
@ -142,6 +146,10 @@ $(OBJDIR)/%.o : ../common/%.c $(INCLUDES)
|
||||||
$(OBJDIR)/xwords4.rc.o : xwords4.rc $(INCLUDES)
|
$(OBJDIR)/xwords4.rc.o : xwords4.rc $(INCLUDES)
|
||||||
$(WINDRES) -v -I$(MINGW_INC_PATH) $(RESFLAGS) -o $@ $<
|
$(WINDRES) -v -I$(MINGW_INC_PATH) $(RESFLAGS) -o $@ $<
|
||||||
|
|
||||||
|
CAB: $(TARGET)
|
||||||
|
$(STRIP) $<
|
||||||
|
./exe2cab.pl $<
|
||||||
|
|
||||||
SHIP: $(TARGET)
|
SHIP: $(TARGET)
|
||||||
$(STRIP) $<
|
$(STRIP) $<
|
||||||
ifdef WINCE_UPLOAD_LOC
|
ifdef WINCE_UPLOAD_LOC
|
||||||
|
|
|
@ -147,12 +147,13 @@ CAPTION "About Crosswords"
|
||||||
FONT 8, "System"
|
FONT 8, "System"
|
||||||
BEGIN
|
BEGIN
|
||||||
ICON IDI_XWORDS4,IDC_STATIC,8,17,20,20
|
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 "\
|
"Eric House. This software is released under the GNU "\
|
||||||
"Public License.\r\r"\
|
"Public License.\r\r"\
|
||||||
"For dictionaries, a manual, or source code go to "\
|
"For dictionaries, a manual, or source code go to "\
|
||||||
"http://xwords.sf.net.",
|
"http://xwords.sf.net.",
|
||||||
IDC_STATIC,32,10,86,101,SS_NOPREFIX
|
IDC_STATIC,32,4,86,101,SS_NOPREFIX
|
||||||
END
|
END
|
||||||
|
|
||||||
#ifdef CEFEATURE_CANSCROLL
|
#ifdef CEFEATURE_CANSCROLL
|
||||||
|
|
Loading…
Reference in a new issue