Hi!
----
1. Is it allowed to use something like this in the OS/Net Makefiles:
-- snip --
# use "shcomp" if present to compile the shell script,
# otherwise just copy it:
$(ROOTUSR)/usr/bin/foo: foo.sh
if [[ -x /usr/bin/shcomp ]] ; then \
shcomp foo.sh >$(ROOTUSR)/usr/bin/foo \
else \
cp foo.sh $(ROOTUSR)/usr/bin/foo \
fi
install: $(ROOTUSR)/usr/bin/foo
-- snip --
... I belive the answer is "no" ... but I better ask before starting to
add some kind of staged putback monstrosity...
2. The same question for the SFW gate - AFAIK the answer should be "yes"
since stuff like "configure" could pick-up "shcomp" automagically
anyway...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) [EMAIL PROTECTED]
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code