Title: | USG buildhelp questions/answers |
Moderator: | SMURF::FILTER |
Created: | Mon Apr 26 1993 |
Last Modified: | Mon Jan 20 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 2763 |
Total number of notes: | 5802 |
Delivery-Date: Mon, 26 Apr 93 15:32:34 -0400 Return-Path: [email protected] Received: by flume.zk3.dec.com (5.65/DEC-USSG-ZK3-ULTRIX-09/27/91); id AA12821; Mon, 26 Apr 1993 15:32:03 -0400 Received: by locore.zk3.dec.com (5.65/DEC-USSG-ZK3-ULTRIX-09/27/91); id AA14119; Mon, 26 Apr 1993 15:30:25 -0400 Received: by jmpset.unx.dec.com; id AA12140; Mon, 26 Apr 1993 15:30:02 -0400 Date: Mon, 26 Apr 1993 15:30:02 -0400 From: Bob Wu <[email protected]> Message-Id: <[email protected]> To: [email protected] Subject: Adding a new file I wish to add a new "Read.me" file to sendmail. The source for the file will exist in one directory, but the resulting file should be installed in another directory. How do I go about doing this? I checked the existing build makefile, mimic'd it, and tried executing a "build" as well as a "build install". Can you please direct me how to modify the file, as well as verify that it is being done correctly? /Bob
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
5.1 | AOSG::TAPPAN | Tue Apr 27 1993 09:32 | 34 | ||
Date: Tue, 27 Apr 1993 00:44:41 -0400 From: jmcg (Jim McGinness) To: [email protected], [email protected] Subject: Re: Adding a new file I think the answer to your immediate question is something like this: 1) locate the DATAFILES line in the Makefile and add Read.me to the end of the list of files. 2) Using the file name as a modifier, add an IDIR directive to specify where the Read.me file is to be installed on the output hierarchy. You can similarly use IOWNER and IMODE to control these characteristics of the file. Results will probably look something like this: DATAFILES = sendmail.cf sendmail.hf aliases sendmail.st Read.me Read.me_IDIR = /destination_directory/ Read.me_IOWNER = root Read.me_IMODE = 644 You should be able to exercise these functions in the Makefile with the combination "build build_all" and "build install_all TOSTAGE=/outputdir" to see what will happen during the full build. The install step must be run as root or certain operations will fail, but seeing them attempted may satisfy you that you've succeeded. -- jmcg [This was answer 1.] |