X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=onelab-install.mk;h=0d54a3060dd912dfb25a11e2cfcc190e8d23de20;hb=f070fcb49ea7ee36968474d7094f9a8ee7e53cd6;hp=f56c8ad5b7b6d02ea8a58ef2cb0980809f9f28ec;hpb=afefe68ee3cb276ff50c5156438c3d930271a19f;p=build.git diff --git a/onelab-install.mk b/onelab-install.mk index f56c8ad5..0d54a306 100644 --- a/onelab-install.mk +++ b/onelab-install.mk @@ -1,11 +1,16 @@ # # Thierry Parmentelat - INRIA Sophia Antipolis # -### $Id: onelab-install.mk 685 2007-07-19 09:01:41Z thierry $ +### $Id$ # # Installation rules # +install: + @echo WARNING: this target is deprecated + @echo you might siwh to use the noderepo rpm instead + @echo former behaviour is available throuhg make install-obsolete + # make install : # uses $(PLCSSH) as an ssh address for the destination host # first copies everything on a separate rpm repo, prepares it, @@ -24,7 +29,7 @@ endif RPMSAREA := /var/www/html/install-rpms/ -BUILD_BASE := $(shell cat .base) +BUILD_BASE := $(shell cat .base 2> /dev/null || echo base-undefined) BASENEW := build-$(BUILD_BASE) BASEBAK := planetlab-bak BASE := planetlab @@ -35,11 +40,11 @@ RSYNC_COND_DRY_RUN := $(if $(findstring n,$(MAKEFLAGS)),--dry-run,) RSYNC := rsync $(RSYNC_COND_DRY_RUN) INSTALL-TARGETS := install-rpms install-index install-adopt install-bootstrap -install: $(INSTALL-TARGETS) -.PHONY: install $(INSTALL-TARGETS) +install-obsolete: $(INSTALL-TARGETS) +.PHONY: install install-obsolete $(INSTALL-TARGETS) install-help: - @echo install: $(INSTALL-TARGETS) + @echo install-obsolete: $(INSTALL-TARGETS) # compute the exact set of rpms to install - we do not need bootstrapfs nor myplc here node_packages=$(sort $(IN_VSERVER) $(IN_BOOTSTRAPFS))