Project

General

Profile

« Previous | Next » 

Revision 418

Makefiles: Added empty rules for targets without a rule so that these rules wouldn't trigger the recursive subdir invocation for the default target

View differences:

Makefile
57 57
install: _always core mysql inputs/install test
58 58
	@$(done)
59 59

  
60
uninstall: _always inputs/uninstall rm_mysql rm_core
60
uninstall: _always inputs/uninstall rm_mysql rm_core ;
61 61

  
62
reinstall: _always uninstall install
62
reinstall: _always uninstall install ;
63 63

  
64 64
#####
65 65

  
66 66
core: _always $(call forOs,python postgres) postgres_user db
67 67
	@$(done)
68 68

  
69
rm_core: _always rm_db rm_postgres_user
69
rm_core: _always rm_db rm_postgres_user ;
70 70

  
71
reinstall_core: _always rm_core core
71
reinstall_core: _always rm_core core ;
72 72

  
73 73
python-Linux: _always
74 74
	-sudo apt-get install python python-dev python-dateutil python-pip
......
112 112
	@echo 'Run the installer in it'
113 113
	@$(wait)
114 114

  
115
postgres-: _always # other OSes
115
postgres-: _always ; # other OSes
116 116

  
117 117
psqlOpts := --set ON_ERROR_STOP=1 --quiet
118 118
psqlAsAdmin := sudo -u postgres psql $(psqlOpts)
......
138 138
rm_db: _always
139 139
	echo "DROP DATABASE IF EXISTS vegbien;"|$(psqlAsAdmin)
140 140

  
141
reinstall_db: _always rm_db db
141
reinstall_db: _always rm_db db ;
142 142

  
143 143
empty_db: _always schemas/vegbien_empty.sql
144 144
	$(psqlAsBien) <schemas/vegbien_empty.sql
......
148 148
mysql: _always $(call forOs,mysql) mysql_user
149 149
	@$(done)
150 150

  
151
rm_mysql: _always rm_mysql_user
151
rm_mysql: _always rm_mysql_user ;
152 152

  
153 153
mysql-Linux: _always
154 154
	@echo $(emph)"If asked for MySQL root password, enter $(bienPassword)"$(endEmph)
......
188 188

  
189 189
#####
190 190

  
191
inputs: _always inputs/all
191
inputs: _always inputs/all ;
192 192

  
193
import: _always inputs/import
193
import: _always inputs/import ;
194 194

  
195
verify: _always inputs/verify
195
verify: _always inputs/verify ;
196 196

  
197
test2: _always inputs/test
197
test2: _always inputs/test ;
198 198
	@$(done)
199 199

  
200 200
#####

Also available in: Unified diff