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. Advertisements

  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. Advertisements

  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. Advertisements

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:
    632
    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:
    696
    Luis Esteban Valencia
    Jul 12, 2005
  3. Mirco Novena
    Replies:
    2
    Views:
    381
    bugbear
    Sep 27, 2004
  4. Mirco Novena
    Replies:
    1
    Views:
    370
    Andrew Thompson
    Sep 27, 2004
  5. Stephan Koser
    Replies:
    3
    Views:
    834
    Juha Laiho
    Dec 7, 2004
  6. Raphael Bossek
    Replies:
    1
    Views:
    367
    Nicholas Wieland
    Aug 21, 2003
  7. Catherina Svensson
    Replies:
    0
    Views:
    560
    Catherina Svensson
    May 19, 2008
  8. Sortie

    Which files are necessary to be compiled?

    Sortie, Sep 11, 2009, in forum: C Programming
    Replies:
    2
    Views:
    409
    Richard Bos
    Sep 12, 2009
Loading...