Creating necessary configuration files on package installation

Discussion in 'Perl Misc' started by David G. Hong, Apr 21, 2008.

  1. 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?
    David G. Hong, Apr 21, 2008
    #1
    1. Advertising

  2. On Apr 21, 10:39 am, "David G. Hong" <> wrote:
    > 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
    David G. Hong, Apr 21, 2008
    #2
    1. Advertising

  3. On Apr 21, 10:39 am, "David G. Hong" <> wrote:
    > 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
    David G. Hong, Apr 21, 2008
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steffen Loringer

    ASP.NET Files necessary on production system

    Steffen Loringer, Jan 15, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    423
    Steffen Loringer
    Jan 15, 2004
  2. Luis Esteban Valencia

    Change configuration files after installation.

    Luis Esteban Valencia, Jul 12, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    595
    Luis Esteban Valencia
    Jul 12, 2005
  3. Mirco Novena
    Replies:
    2
    Views:
    305
    bugbear
    Sep 27, 2004
  4. Mirco Novena
    Replies:
    1
    Views:
    300
    Andrew Thompson
    Sep 27, 2004
  5. Catherina Svensson
    Replies:
    0
    Views:
    459
    Catherina Svensson
    May 19, 2008
Loading...

Share This Page