Hello,

In an effort to get a proper version number from a Windows OpenAFS client 
(1.2.3) when queried with 'rxdebug ... -version', I changed the file:

/src/config/NTMakefile.version-NOCML

to the text below (sans comments). There may be a cleaner way, but this 
approach did the trick.

--ScottW



VERSNAME=OpenAFS$(AFSPRODUCT_VERSION)

!IFNDEF VERSFILE
VERSFILE=AFS_component_version_number
!ENDIF

$(VERSFILE).c:
         echo char 
$(CML_PREFIX)cml_version_number[]="@(#)$(VERSNAME)"; >$(VERSFILE).c
         echo char* AFSVersion = "$(VERSNAME)";  >>$(VERSFILE).c

$(VERSFILE).h:
         echo #define AFS_VERINFO_BUILD "$(VERSNAME)" >$(VERSFILE).h

$(VERSFILE).txt:
         echo $(VERSNAME)>$(VERSFILE).txt

_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to