automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to reflect variables like "sysconfdir" in an executable.


From: Hans Deragon
Subject: How to reflect variables like "sysconfdir" in an executable.
Date: Sun, 15 Feb 2004 16:44:38 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116

Greetings.


I am working on a project where the executable is a Python script, so no building is required. However, since it has to read a configuration file, like /etc/<file>, my script needs to be modified so that the sysconfdir directory is reflected somewhere.

Are there any means with Automake such that an executable script would be parsed and modified with the $sysconfdir variable hardcoded so it knows where to read the configuration file? Couldn't find anything for this in the doc.


Newbie thanking you for your patience.
Hans Deragon
--
Consultant en informatique/Software Consultant
Deragon Informatique inc.     Open source:
http://www.deragon.biz        http://autopoweroff.sourceforge.net
mailto://address@hidden     (Automatically poweroff home servers)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]