diff options
author | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-03-29 18:00:06 +0200 |
---|---|---|
committer | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-03-30 18:58:33 +0200 |
commit | 3137acdd5a45285dab9903f9d41560c63eca8523 (patch) | |
tree | 38bd8525a9e214d848a73fc40e81ddb182cf91b6 /config/modules/000-distillery-update.mk | |
parent | 9b30fc10fb1cbebe651e5a107e8ca5b24de54675 (diff) |
first commit
Change-Id: I8412b8e7d966c2fbc508b537fd9a9bbcfc628ca8
Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'config/modules/000-distillery-update.mk')
-rw-r--r-- | config/modules/000-distillery-update.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config/modules/000-distillery-update.mk b/config/modules/000-distillery-update.mk new file mode 100644 index 00000000..efdab169 --- /dev/null +++ b/config/modules/000-distillery-update.mk @@ -0,0 +1,21 @@ +########################################## +# Tell people they need to use the "new" way. + +define errorMessage + $(warning * Attention, the configuration for GitHub has changed) + $(warning * DISTILLERY_GITHUB_USER is depricated. You shoud now) + $(warning * use DISTILLERY_GITHUB_URL_USER) + $(warning * DISTILLERY_GITHUB_SERVER is depricated. You shoud now) + $(warning * use DISTILLERY_GITHUB_URL) + $(warning * Set this in your config file .ccnx/distillery/config.mk) + $(warning * See config/config.mk for default values) + $(error ERROR: Make found depricated variable $1) +endef + +ifdef DISTILLERY_GITHUB_USER + $(call errorMessage,DISTILLERY_GITHUB_USER) +endif + +ifdef DISTILLERY_GITHUB_SERVER + $(call errorMessage,DISTILLERY_GITHUB_SERVER) +endif |