Creating necessary configuration files on package installation

D

David G. Hong

Hi,

I am writing a fairly customised piece of software. And some parts of
the software are configurable - meaning that there exists some sort of
configuration file like httpd.conf (for Apache 2). Now, I want to be
able to set this up upon package installation.

Is there a procedure I can use to do this?
 
D

David G. Hong

Hi,

I am writing a fairly customised piece of software. And some parts of
the software are configurable - meaning that there exists some sort of
configuration file like httpd.conf (for Apache 2). Now, I want to be
able to set this up upon package installation.

Is there a procedure I can use to do this?

May be I should clarify a little more.

Ultimately, I want to setup somethings like:

$PREFIX/conf/prog.conf

And have prog.conf contain some generic default configuration
settings. And this should be created upon:

perl Makefile.pl
make
make test
make install


Thanks,
David
 
D

David G. Hong

Hi,

I am writing a fairly customised piece of software. And some parts of
the software are configurable - meaning that there exists some sort of
configuration file like httpd.conf (for Apache 2). Now, I want to be
able to set this up upon package installation.

Is there a procedure I can use to do this?

May be I should clarify a little more.

Ultimately, I want to setup somethings like:

$PREFIX/conf/prog.conf

And have prog.conf contain some generic default configuration
settings. And this should be created upon:

perl Makefile.pl
make
make test
make install


Thanks,
David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top