TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Kai Richter
from: Michael Dukelsky
date: 2023-07-18 21:55:00
subject: hardcoded config entry?

Hello Kai,

Friday July 14 2023, Kai Richter wrote to All:

 KR> While building i changed PREFIX and CFGDIR location. The result of
 KR> prefix ~/test was a nice overview which files have been built and it
 KR> was easy to move them to the final node system. I made a mistake and
 KR> needed to change the CFGDIR path but the next make run did not rebuild
 KR> any files?

Fixed.

 KR> I did a text search and found there is no CFGDIR in the project root
 KR> Makefile but i found it in the fidoconfig module Makefile.

 KR> Is the FIDOCONFIG environment variable the only way to define the
 KR> config entry point?

 KR> In the long term maybe i'm going to need a hardcoded initial config
 KR> location.

If neither "-c" command line option, nor FIDOCONFIG environment variable is defined, then the fidoconfig location is given by CFGDIR and CFGNAME defined in huskymak.cfg during compilation. If CFGNAME is not defined there, "config" is used.

Michael

... node (at) f1042 (dot) ru
--- GoldED+/LNX 1.1.5-b20230221
                                                                                               
* Origin: Moscow, Russia (2:5020/1042)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.