# $HeadURL$ $LastChangedRevision$ # # Load ade.mk # include ../share/include/ade.mk # We need to make adeinst findable. Non-ade modules can find # adeinst in $PATH but ade itself *must* use the one in ../bin, # not the one that is already installed in $PATH. We could # prepend ../bin onto $PATH but if the one in ../bin failed to # compile then we'll fall back to the one in /usr/local/bin # or whereever and we don't want that: we want inability to # call ../bin/adeinst to be an error. # # We could set INSTALL_CMD and call $(INSTALL_CMD) but that # won't help adeinst to find ade-config. So we really do need # to change PATH. # # So here we are doing a bit of both: we say which adeinst to # call but we set PATH so that adeinst can find ade-config. # In addition we set ADE_SHARE_PREFIX so that adeinst can # find ade.sh. install: INSTALL_CMD = ADE_SHARE_PREFIX=../share PATH=../bin:$(shell echo $$PATH) ../bin/adeinst # # What do we have? # TXT_FILES = ChangeLog COPYING INSTALL.generic # # Where do we want it? # DOC_FILES = $(TXT_FILES)