🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #1050

Re: make

#1050
From: Marc Evans Ultrix Q/A
Date: Wed, 21 Mar 1990 14:20
42 lines
1806 bytes
In article <1990Mar19.210924.27103@cs.umn.edu>, iyer@umn-cs.cs.umn.edu
(Narayanan S. Iyer) writes:
> I am having a few problems with Ultrix 3.2 Make Facility.  Specifically,
> I have a Makefile that runs properly on a Sun and an Apollo but dies on
> a DEC 3100 RISC.  The problem centers around the use of `pwd`:
> 
> BINDIR=`pwd`/bin
> 
> $(MAKE) INSTALL "BINDIR=$(BINDIR)"
> 
> The above lines included in the Makefile.  Apparently, `pwd` is not
> being expanded to represent the present-working-directory.  I would
> appreciate any suggestions.  
> 
> Thanks in advance.
> 
> Ryan

Hmmm...

I created the following Makefile:

	BINDIR=`pwd`/bin
	all :
		$(MAKE) INSTALL "BINDIR=$(BINDIR)"
	INSTALL :
		echo "bindir = $(BINDIR)"

I then typed 'make' and here are the results:

	make INSTALL "BINDIR=`pwd`/bin"
	echo "bindir = /tmp/bin"
	bindir = /tmp/bin

I am running ULTRIX 3.1. There is no such thing as ULTRIX 3.2. Have I simulated
your problem properly? If so, I don't see what the problem is?

- Marc
===========================================================================
Marc Evans - WB1GRH - evans@decvax.DEC.COM  | Synergytics     (603)635-8876
     Unix/X-window Software Contractor      | 21 Hinds Ln, Pelham, NH 03076
===========================================================================
Technical Details
Message-ID: <6915@decvax.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!mcnc!decvax!testmax.zk3.dec.com!evans
References: <1990Mar19.210924.27103@cs.umn.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!rutgers!mcnc!decvax!testmax.zk3.dec.com!evans
From: evans@testmax.zk3.dec.com (Marc Evans Ultrix Q/A)
Newsgroups: comp.sys.dec
Subject: Re: make
Message-ID: <6915@decvax.dec.com>
Date: 21 Mar 90 14:20:59 GMT
References: <1990Mar19.210924.27103@cs.umn.edu>
Sender: news@decvax.dec.com
Reply-To: evans@decvax.DEC.COM
Distribution: usa
Organization: Synergytics
Lines: 42