linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Furness <paul.furness@vil.ite.mee.com>
To: linux-admin@vger.kernel.org
Subject: make scripts are bizzare under Debian.
Date: 10 Feb 2003 12:02:05 +0000	[thread overview]
Message-ID: <1044878525.8648.13.camel@Zebra.vil.ite.mee.com> (raw)

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:

<snip>

#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
DH_VERBOSE=1

clean:
        $(MAKE) "clean"

</snip>

the exact output we get is this:

<snip>

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#

</snip>


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.


             reply	other threads:[~2003-02-10 12:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-10 12:02 Paul Furness [this message]
2003-02-10 13:01 ` make scripts are bizzare under Debian Paul Furness

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1044878525.8648.13.camel@Zebra.vil.ite.mee.com \
    --to=paul.furness@vil.ite.mee.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).