Commit fa8687c4 authored by Robert Sprowson's avatar Robert Sprowson

Now gets both the date and the version from the VersionNum file.

Retagged.
parent b9cf57e3
......@@ -35,7 +35,6 @@ RDIR = Resources
LDIR = ${RDIR}.${LOCALE}
MODULE_NAME = !Help
MODULE_HELP = "!Help"
VERSION = 1.00
FILELIST = ${RDIR}.Filelist
#
......@@ -53,16 +52,13 @@ CC = cc
LD = link
CP = copy
RM = remove
SQUISH = squish
SQZ = squeeze
WIPE = -wipe
XWIPE = x wipe
PERL = do <Perl$Dir>.perl
AFLAGS = ${THROWBACK} -depend !Depend -nocache -stamp -quit -module
CFLAGS = ${THROWBACK} -depend !Depend -ffa ${INCLUDES}
CFLAGS = ${THROWBACK} -depend !Depend -ffa ${INCLUDES}
CPFLAGS = ~cfr~v
SQFLAGS = -nolist
WFLAGS = ~c~v
#
......@@ -72,7 +68,6 @@ CLIB = CLib:o.stubs
EVENTLIB = tbox:o.eventlib
TOOLBOXLIB = tbox:o.toolboxlib
WIMPLIB = tbox:o.wimplib
WRAPPER = RISC_OSLib:s.ModuleWrap
#
# Include files
......@@ -92,10 +87,6 @@ OBJS =\
o.help \
o.common
# Resources to be included in the ROM module (not in Messages module}
#RESFILES =\
# ${RDIR}.!RunImage
#
# Rule patterns
#
......@@ -108,7 +99,6 @@ OBJS =\
#
# Main rules:
#
rom: ${MODULE}
@echo ${COMPONENT}: rom module built
......@@ -161,12 +151,10 @@ Resources.!RunImage: ${OBJS} ${EVENTLIB} ${TOOLBOXLIB} ${WIMPLIB} ${CLIB}
${LD} -o $@ ${OBJS} ${CLIB} ${EVENTLIB} ${TOOLBOXLIB} ${WIMPLIB}
${SQZ} ${SQZFLAGS} $@
${MODULE}: ${FILES} ${VERSION}
${MODULE}: ${FILES} VersionNum
${MKDIR} rm
Do ${MODGEN} $@ ${MODULE_NAME} ${MODULE_HELP} <Help2$BuildVersion> -via ${FILELIST}
${VERSION}:
${PERL} build:getversion Help2$BuildVersion
${PERL} build:getversion Help2$BuildV Help2$FullV Help2$Date
do ${MODGEN} -date "<Help2$Date>" $@ ${MODULE_NAME} ${MODULE_HELP} <Help2$BuildV> -via ${FILELIST}
BBETYPE = help2
bbe-help2: bbe-generic
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment