aboutsummaryrefslogtreecommitdiffstats
path: root/config/modules/000-distillery-update.mk
blob: efdab16922320bc9ac18ea15b5bcd3dbaeab8895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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