running a /var/yp make from a script
From: Christopher L. Barnard (cbar44_at_tsg.cbot.com)
Date: 08/27/04
- Previous message: Johnson, Chad: "nslookup on solaris 9 not working"
- Next in thread: Christopher L. Barnard: "Summary: running a /var/yp make from a script"
- Reply: Christopher L. Barnard: "Summary: running a /var/yp make from a script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 27 Aug 2004 11:16:44 -0500 (CDT) To: sunmanagers@sunmanagers.org
If I cc into the /var/yp directory and type "make", it uses the Makefile
in that directory. I am writing a script that will do an NIS make when
the script is run. However, I am unable to get it to work properly. I
have tried to put the appropriate cd command on the line above, and I have
tried putting an "-f /var/yp/Makefile" after the /usr/ccs/bin/make, but I
still get the error
make: Warning: Don't know how to make target `all'
Current working directory /opt/local/bin
make: Warning: Target `all' not remade because of errors
Current working directory /opt/local/bin
*** Error code 1
make: Fatal error: Command failed for target `k'
Any suggestions what else to try?
TIA and I will summarize.
+-----------------------------------------------------------------------+
| Christopher L. Barnard O When I was a boy I was told that |
| cbarnard@tsg.cbot.com / \ anybody could become president. |
| (312) 347-4901 O---O Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Previous message: Johnson, Chad: "nslookup on solaris 9 not working"
- Next in thread: Christopher L. Barnard: "Summary: running a /var/yp make from a script"
- Reply: Christopher L. Barnard: "Summary: running a /var/yp make from a script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|