Okay, I'm changed strategy to have my install script do all installation 
tasks:

http://cr.opensolaris.org/~jleser/nano-2009.02.25/

One side note, I was a bit surprised and disappointed that _install 
doesn't create the target paths if necessary.

-John

Jim Walker wrote:
> Besides Paul's comments:
> 
> Take a look at:
> http://cr.opensolaris.org/~lxin/iperf/usr/src/cmd/iperf/Makefile.sfw.html
> http://cr.opensolaris.org/~lxin/iperf/usr/src/cmd/iperf/install-sfw.html
> - these files have good Makefile.sfw to install-sfw interactions.
> 
> usr/src/cmd/nano/Makefile.sfw
> - This:
>   46         $(SHELL) install.sfw
> - Can be:
>   46         PKGDIR=$(VER) $(SHELL) ./install-sfw
> 
> usr/src/cmd/nano/install.sfw
> - This:
>   36         _install M ${MANDIR}/${page} ${MANDIR}/${page}.temp 444
>   37         mv -f ${MANDIR}/${page}.temp ${MANDIR}/${page}
>   38         rm -f ${MANDIR}/fr/${page}
> - Can be:
>   36    _install M ${PKGDIR}/man/${page} ${MANDIR}/${page} 444
> - (ie. it should be easy to transfer the man pages from the version
> directory to the proto dir)
> 
> Cheers,
> Jim
> 
[cut]

Reply via email to