endlesssoftware / mmk

MMK -- Make Utility for OpenVMS
BSD 3-Clause "New" or "Revised" License
12 stars 9 forks source link

how to make mmk with mmk? #75

Open hb-- opened 10 years ago

hb-- commented 10 years ago

@compile gives a warning, but it creates an image. However, that image is not able to parse descrip.mms:

$ @compile
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
 \SDL\
$ set command MMK_CLD
$ define mmk sys$disk:[]mmk
$ mmk/id
%MMK-I-IDENT, this is the MMK Make Utility V5.0
-MMK-I-COPYRIGHT, Copyright (c) 2008, Matthew Madison.
    Copyright (c) 2013, Endless Software Solutions.
  See LICENSE.TXT in distribution kit for license information.
$ mmk/noaction
%MMK-F-PARSERR, error parsing description line TMP
-MMK-I-ERRLOC, at line number 239 in file EISNER$DRA3:[DECUSERVE_USER.MMK-MASTER]DESCRIP.MMS;1
-LIB-F-SYNTAXERR, string syntax error detected by LIB$TPARSE
$
$ edito/edt descrip.mms
    1       !++
*239
  239       TMP != PIPE TMP="$(MMK_MAJOR_VERSION)" ; IF F$LENGTH(TMP) .EQ 1 THEN TMP="0"+TMP ; WRITE/SYMBOL SYS$OUTPUT TMP
*

After scanning the git log:

--- DESCRIP.MMS-orig    Thu Dec  5 07:14:08 2013
+++ DESCRIP.MMS Thu Dec  5 07:05:28 2013
@@ -236,7 +236,7 @@
 !
 ! Build new MMK version number...
 !
-TMP != PIPE TMP="$(MMK_MAJOR_VERSION)" ; IF F$LENGTH(TMP) .EQ 1 THEN TMP="0"+TMP ; WRITE/SYMBOL SYS$OUTPUT TMP
+TMP |= PIPE TMP="$(MMK_MAJOR_VERSION)" ; IF F$LENGTH(TMP) .EQ 1 THEN TMP="0"+TMP ; WRITE/SYMBOL SYS$OUTPUT TMP
 KITNAME = $(COLLAPSE $(MG_FACILITY)$(TMP)$(MMK_MINOR_VERSION))

 KIT : $(BINDIR)MMK.EXE
levitte commented 7 years ago

This seems to be fixed in e73d4380bd2f60f6788cae3399bdf459d30ae2bf, shouldn't this issue be closed?