tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: interactive installs



OBATA Akio writes:
 > At least, you need put followings to Makefile:
 > INTERACTIVE_STAGE+=  install

Yes.  The result of doing that is a message saying

      Please install manually with:
        cd ${.CURDIR} && ${MAKE} install

which in my case is not appropriate.

One option is to include a clause in mk/install/install.mk that
parallels the similar clause in mk/fetch/fetch.mk to enable
${INSTALL_MESSAGE} to be written instead of the one above.

If that existed I could, for example, create an appropriate make
target in the package Makefile and instruct the user via
${INSTALL_MESSAGE} how they should respond to the prompts for
everything to be installed in a way that pkgsrc will like.  Somehow
this seems like a hack, but perhaps it is the only way.

Is this a useful direction?  Are there better ones?  Regardless, is it
a good idea to modify mk/install/install.mk in this way?  during a
freeze?

Thanks for any ideas and suggestions.

Cheers,
Brook


Home | Main Index | Thread Index | Old Index