From: Paul Furness Subject: Re: make scripts are bizzare under Debian. Date: 10 Feb 2003 13:01:31 +0000 Sender: linux-admin-owner@vger.kernel.org Message-ID: <1044882091.8653.26.camel@Zebra.vil.ite.mee.com> References: <1044878525.8648.13.camel@Zebra.vil.ite.mee.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1044878525.8648.13.camel@Zebra.vil.ite.mee.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org Forget it - user error (I can't read make files properly... ) It works now... Paul. On Mon, 2003-02-10 at 12:02, Paul Furness wrote: > Hi. > > I'm trying to run a make script on a Debian machine, and it is behaving > in the *most* weird way. > > We have a tree of source code with makefiles in all the appropriate > places, and it works fine on our RedHat systems. We are now trying to > get it to work on a Debian machine, where it starts to behave strangely. > here's how: > > If I go to the top of the source tree, and do: > > make clean > > everything behaves itself fine. > > If, however, I run the make script like this: > > ./debian/rules.pmf clean > > then it errors in all the directories, saying "no rule to make target > `w'" > > We initialy started with a full debian template make script, but have > ended up removing almost everything in it and we now have this as the > entire rules.pmf script: > > > > #!/usr/bin/make -f > > # Uncomment this to turn on verbose mode. > DH_VERBOSE=1 > > clean: > $(MAKE) "clean" > > > > the exact output we get is this: > > > > po:~/viss-1.5.2# debian/rules.pmf clean > > /usr/bin/make "clean" > make[1]: Entering directory `/root/viss-1.5.2' > make[2]: Entering directory `/root/viss-1.5.2/shared' > make[2]: *** No rule to make target `w'. Stop. > make[2]: Leaving directory `/root/viss-1.5.2/shared' > make[2]: Entering directory `/root/viss-1.5.2/utils' > make[2]: *** No rule to make target `w'. Stop. > make[2]: Leaving directory `/root/viss-1.5.2/utils' > > ...repeated for each directory until... > > make[1]: *** [clean] Error 2 > make[1]: Leaving directory `/root/viss-1.5.2' > make: *** [clean] Error 2 > > po:~/viss-1.5.2# > > > > > As you can see, it's definitley trying to run "make clean" but somewhere > "clean" gets turnes into "w." > > Anybody got any idea at all why it's doing this? > > > tks. > > Paul. -- Paul Furness Systems Manager Steepness is an illusion caused by flat things leaning over.