Re: RPM build file

From: Klaus Espenlaub (espenlaub@informatik.uni-ulm.de)
Date: Tue Feb 22 2000 - 23:24:13 PST

  • Next message: David Cantrell: "HP ScanJet 3C...it's working now"

    Petter Reinholdtsen wrote:
    >
    > [Dave Hill]
    > > It requires a simple patch to the Makefile.in files to allow a
    > > variable $(DESTDIR) to be prepended to all the install paths whilst
    > > building the binary RPM.
    >
    > I believe the normal GNU autoconf name for this variable is $(prefix).

    Mostly. DESTDIR is only prepended to get the place where the files are
    to be installed. Think of it as a different installation root. Changing
    $(prefix) for this won't work for most programs, as they may compile it in.
    DESTDIR is usually empty, but for RPM builds (where you need an "installed"
    file tree to make the .rpm file) it is set to a temporary directory. This
    way your previously installed files (e.g. from your favorite distribution)
    are unchanged. Installation is done with the rpm program, even on the build
    machine.

    Klaus

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Tue Feb 22 2000 - 23:23:17 PST