Changeset 1256
- Timestamp:
- Oct 23, 2008, 4:06:46 PM (17 years ago)
- Location:
- trunk/warpin
- Files:
-
- 2 edited
-
ckfiles.cmd (modified) (3 diffs)
-
makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/warpin/ckfiles.cmd
r1234 r1256 7 7 * these files can first be staged and then added to the WPI file. 8 8 * 9 * Change log: 10 * 23 Oct 08 JBS Ticket 293: Improved support for -a wmake option 9 11 */ 10 12 … … 14 16 signal on novalue 15 17 16 parse arg args17 wpi_file = strip( args)18 parse arg '"MAKEOPTS=' make_args '"' wpi_file 19 wpi_file = strip(wpi_file) 18 20 wis_file = 'fm2.wis' 19 21 if stream(wpi_file, 'c', 'query exists') == '' then /* If target WPI file does not exist, force WIS rebuild */ … … 32 34 say 33 35 say 'Exiting...' 34 return 36 return 1 35 37 end 36 38 out_file_date_time = GetDate(out_file) 37 39 wpi_file_date_time = GetDate(wpi_file) 38 40 39 if in_file_date_time > out_file_date_time | , 41 if pos('A', translate(make_args)) > 0 | , 42 in_file_date_time > out_file_date_time | , 40 43 out_file_date_time = dummy_date_time | , 41 44 wpi_file_date_time = dummy_date_time then -
trunk/warpin/makefile
r1239 r1256 1 # warpin\makefile - build the FM/2 Warpin installation file: FM2.WIS 1 # warpin\makefile - build the FM/2 Warpin installation file: FM2$(FM2_VER).WPI 2 2 3 # $Id$ 3 4 … … 14 15 # 07 Oct 08 JBS Changed SED command to use script file and to eliminate 15 16 # extraneous blank lines with the included files. 17 # 23 Oct 08 JBS Ticket 293: Add "chksed" target to check for sufficient SED and GREP and 18 # improve support for -a option in the checkfiles target. 16 19 17 20 !ifndef FM2_VER # if defined on wmake command, use it … … 61 64 checkfiles: .symbolic 62 65 @echo Checking to see if files have been changed... 63 ckfiles fm2$(FM2_VER).wpi66 ckfiles "MAKEOPTS=$(__MAKEOPTS__)" fm2$(FM2_VER).wpi 64 67 65 fm2.wis: fm2.wis.in fm2utils\fm2utils.doc fm2utils\license.txt makefile sed.in 68 chksed: .symbolic 69 @sed -V <nul 2>&1 | grep -i "GNU sed" >nul 2>&1 || (@echo. & @echo GNU SED and GREP required and not found on the PATH. & @echo.) 70 71 fm2.wis: chksed fm2.wis.in fm2utils\fm2utils.doc fm2utils\license.txt makefile sed.in 66 72 sed -e "s/@@@FM2_VER@@@/$(FM2_VER)/" -e "s/@@@FM2UTILS_VER@@@/$(FM2UTILS_VER)/" -f sed.in fm2.wis.in | sed "/@@@include/{s/@@@include//;N;s/\n//}" >fm2.wis 67 73
Note:
See TracChangeset
for help on using the changeset viewer.
