From e9916d58e93c921b099170b4b5ffcd954b7da818 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 15 Jul 2007 09:09:04 +0000 Subject: Rename all Makefiles used by ct-ng into (something).mk, to avoid confusion. --- tools/Makefile | 31 ------------------------------- tools/tools.mk | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 tools/Makefile create mode 100644 tools/tools.mk (limited to 'tools') diff --git a/tools/Makefile b/tools/Makefile deleted file mode 100644 index 72416b85..00000000 --- a/tools/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# Makefile for the tools/ sub-directory - -# Here, we can update the config.* scripts. -# If we're in CT_LIB_DIR, then CT_LIB_DIR == CT_TOP_DIR, and we can update those -# scripts for later inclusion mainline. If CT_LIB_DIR != CT_TOP_DIR, then those -# scripts are downloaded only for use in CT_TOP_DIR. - -CONFIG_SUB_SRC="http://cvs.savannah.gnu.org/viewcvs/*checkout*/config/config/config.sub" -CONFIG_SUB_DEST="$(CT_TOP_DIR)/tools/config.sub" -CONFIG_GUESS_SRC="http://cvs.savannah.gnu.org/viewcvs/*checkout*/config/config/config.guess" -CONFIG_GUESS_DEST="$(CT_TOP_DIR)/tools/config.guess" - -$(CT_TOP_DIR)/tools: - @mkdir -p $(CT_TOP_DIR)/tools - -PHONY += updatetools -updatetools: $(CT_TOP_DIR)/tools $(CONFIG_SUB_DEST) $(CONFIG_GUESS_DEST) - -$(CONFIG_SUB_DEST): - @wget $(CONFIG_SUB_SRC) -O $@ - @chmod u+rwx,go+rx-w $@ - -$(CONFIG_GUESS_DEST): - @wget $(CONFIG_GUESS_SRC) -O $@ - @chmod u+rwx,go+rx-w $@ - -help-distrib:: - @echo ' updatetools - Update the config tools' - -distclean:: - @[ $(CT_TOP_DIR) = $(CT_LIB_DIR) ] || rm -rf $(CT_TOP_DIR)/tools diff --git a/tools/tools.mk b/tools/tools.mk new file mode 100644 index 00000000..72416b85 --- /dev/null +++ b/tools/tools.mk @@ -0,0 +1,31 @@ +# Makefile for the tools/ sub-directory + +# Here, we can update the config.* scripts. +# If we're in CT_LIB_DIR, then CT_LIB_DIR == CT_TOP_DIR, and we can update those +# scripts for later inclusion mainline. If CT_LIB_DIR != CT_TOP_DIR, then those +# scripts are downloaded only for use in CT_TOP_DIR. + +CONFIG_SUB_SRC="http://cvs.savannah.gnu.org/viewcvs/*checkout*/config/config/config.sub" +CONFIG_SUB_DEST="$(CT_TOP_DIR)/tools/config.sub" +CONFIG_GUESS_SRC="http://cvs.savannah.gnu.org/viewcvs/*checkout*/config/config/config.guess" +CONFIG_GUESS_DEST="$(CT_TOP_DIR)/tools/config.guess" + +$(CT_TOP_DIR)/tools: + @mkdir -p $(CT_TOP_DIR)/tools + +PHONY += updatetools +updatetools: $(CT_TOP_DIR)/tools $(CONFIG_SUB_DEST) $(CONFIG_GUESS_DEST) + +$(CONFIG_SUB_DEST): + @wget $(CONFIG_SUB_SRC) -O $@ + @chmod u+rwx,go+rx-w $@ + +$(CONFIG_GUESS_DEST): + @wget $(CONFIG_GUESS_SRC) -O $@ + @chmod u+rwx,go+rx-w $@ + +help-distrib:: + @echo ' updatetools - Update the config tools' + +distclean:: + @[ $(CT_TOP_DIR) = $(CT_LIB_DIR) ] || rm -rf $(CT_TOP_DIR)/tools -- cgit v1.2.3