OSDN Git Service

bug fixed: --unshallow
[eos/base.git] / Makefile
1 SHELL=/bin/bash
2
3 EOS_GIT_BACKUPSITE=/net/fs08/fs08/DataBase/EosBackup.git
4 EOS_GIT_REPOSITRY= git.sourceforge.jp:/gitroot/eos/base.git 
5 EOS_GIT_REPOSITRY_NOUSER=git://git.sourceforge.jp/gitroot/eos/base.git
6 EOS_GIT_REPOSITRY_OPTIONAL= git.sourceforge.jp:/gitroot/eos/optional.git 
7 EOS_GIT_REPOSITRY_OPTIONAL_NOUSER=git://git.sourceforge.jp/gitroot/eos/optional.git
8 EOS_GIT_REPOSITRY_TUTORIAL= git.sourceforge.jp:/gitroot/eos/tutorial.git 
9 EOS_GIT_REPOSITRY_TUTORIAL_NOUSER=git://git.sourceforge.jp/gitroot/eos/tutorial.git
10 EOS_GIT_REPOSITRY_DATA= git.sourceforge.jp:/gitroot/eos/data.git 
11 EOS_GIT_REPOSITRY_DATA_NOUSER=git://git.sourceforge.jp/gitroot/eos/data.git
12 EOS_GIT_REPOSITRY_OTHERS= git.sourceforge.jp:/gitroot/eos/others.git 
13 EOS_GIT_REPOSITRY_OTHERS_NOUSER=git://git.sourceforge.jp/gitroot/eos/others.git
14
15
16 EOS_GIT_REPOSITRY_HOSTDEPEND=git.sourceforge.jp:/gitroot/eos/hostdepend
17 EOS_GIT_REPOSITRY_HOSTDEPEND_NOUSER=git://git.sourceforge.jp/gitroot/eos/hostdepend
18
19 EOS_GIT_REPOSITRY_ZEPHYR= git.sourceforge.jp:/gitroot/eos/zephyr.git 
20 EOS_GIT_REPOSITRY_ZEPHYR_NOUSER=git://git.sourceforge.jp/gitroot/eos/zephyr.git
21
22 EOS_GIT_REPOSITRY_PIONE=https://github.com/pione/pione.git
23 EOS_GIT_REPOSITRY_PIONE_NOUSER=https://github.com/pione/pione.git
24
25 help::
26         @echo ">> Help"
27         @echo ">>>> Download"
28         @echo "---- To register new/Modified source codes. ----"
29         @echo " $$ make git-add         or git-add[-all|-data|-tutorial|-optional|-others|-others2]" 
30         @echo " $$ make git-commit      or git-commit[-all|-data|-tutorial|-optional|-others|-others2]" 
31         @echo " $$ make git-tag         or git-tag[-all|-data|-tutorial|-optional|-others|-others2]" 
32         @echo " $$ make git-push        or git-push[-all|-data|-tutorial|-optional|-others]" 
33         @echo ""
34         @echo "---- To fetch and merge new/modified source codes. ----" 
35         @echo " $$ make git-fetch       or git-fetch[-all|-data|-tutorial|-optional|-others]" 
36         @echo " $$ make git-merge       or git-merge[-all|-data|-tutorial|-optional|-others]" 
37         @echo " $$ make setting"
38         @echo "---- To init git repository ----"
39         @echo " $$ make git-init        or git-init[-all|-zephyr|-data|-tutorial|-optional|-others]" 
40         @echo "---- To clonse git repository ----"
41         @echo " $$ make git-clone or git-clone[-all|-zephyr|-data|-tutorial|-optional|-others]" 
42         @echo "---- option ----"
43         @echo "     [] : base only"
44         @echo "     [-zephyr]   : zephyr (for GUI/browser)"
45         @echo "     [-pione]    : pione  (for process control with GUI/browser)"
46         @echo "     [-data]     : data (for test)"
47         @echo "     [-tutorial] : tutorial"
48         @echo "     [-optional] : optional(for documents)"
49         @echo "     [-others] : other source codes for utils"
50         @echo "     [-others2] : other source codes for utils"
51         @echo "     [-all] : all"
52         @echo ""
53         @echo ">>>> Setting"
54         @echo "---- To set Eos ----"
55         @echo " $$ make setting ; # Create links."
56         @echo " $$ make install ; # No clean, just install."
57         @echo " $$ make rebuild ; # Clean and install."
58         @echo " $$ make rebuild-all ; # Update(prototype), clean and install."
59         @echo ""
60         @echo ">>>> Rebuild"
61         @echo "---- To rebuild source codes of Eos ----"
62         @echo " $$ make rebuild"
63         @echo "---- To update prototype source codes and rebuild source codes of Eos ----"
64         @echo " $$ make rebuild-all"
65         @echo "---- To set Eos ----"
66         @echo " $$ make setting"
67         @echo ""
68         @echo ">>>> Setting for Eos utils using other softwares "
69         @echo "---- To set Eos ----"
70         @echo " $$ cd util; make setting"
71         @echo " $$ cd util; make rebuild"
72
73
74
75 rebuild-all: rebuild-src rebuild-Objects rebuild-all-Tools
76 rebuild: rebuild-src rebuild-Objects rebuild-Tools
77 install: 
78         make install-src 
79         make install-Objects 
80         make install-Tools
81
82 rebuild-src:
83         echo "rebuild-src"
84         cd src; rm -f Makefile; cp -f Config/Template/Makefile Makefile 
85         cd src; rm -f Objects/Makefile; cp -f Config/Template/ObjectsHomeTemplate.Dir/Makefile Objects/Makefile; rm -f Objects/Config/Target.inc; cp -f Config/Template/ObjectsHomeTemplate.Dir/Config/Target.inc Objects/Config/Target.inc
86         cd src; rm -f Tools/Makefile; cp -f Config/Template/ToolsHomeTemplate.Dir/Makefile Tools/Makefile; rm -f Tools/Config/Target.inc ; cp -f Config/Template/ToolsHomeTemplate.Dir/Config/Target.inc Tools/Config/Target.inc
87
88 rebuild-Objects:
89         cd src/Objects;  make clean; make check; make depend; make ; make install
90
91 rebuild-Tools:
92         cd src/Tools;    make clean; make check; make depend; make ; make install
93
94 rebuild-all-Tools:
95         cd src/Tools;    make clean; make update; make check; make depend; make ; make install
96
97 install-src:
98         @echo "install-src"
99         cd src; rm -f Objects/Makefile; cp -f Config/Template/ObjectsHomeTemplate.Dir/Makefile Objects/Makefile
100         cd src; rm -f Tools/Makefile; cp -f Config/Template/ToolsHomeTemplate.Dir/Makefile Tools/Makefile
101
102 install-Objects:
103         @echo "install-Objects"
104         cd src/Objects;  make check; make depend; make ; make install
105
106 install-Tools:
107         @echo "install-Tools"
108         cd src/Tools;    make check; make depend; make ; make install
109
110 setting:relink
111         if [ ! -d hostdepend] ; then \
112                 mkdir hostdepend; \
113         fi
114
115 relink:
116         ln -sf optional/doc .
117         ln -sf optional/objects .
118         ln -sf data/example .
119
120 #
121 # Add
122 #
123
124 git-add-all:: git-add git-add-data git-add-optional git-add-tutorial git-add-others
125
126 git-add:: git-add-hostdepend
127         @echo "base directory"
128         @git add -v --all . || echo "No files to be added"
129
130 git-add-hostdepend::
131         @echo "hostdepend directory"
132         @cd hostdepend/$${EOS_HOSTDIR}/ ; git remote add hostdepend$${EOS_HOSTDIR} $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_HOSTDEPEND)$${EOS_HOSTDIR}.git || echo "Already exist"
133         @cd hostdepend/$${EOS_HOSTDIR}/ ; git add -v --all . || echo "No files to be added\n" 
134
135 git-add-optional::
136         cd optional; git add -v --all . 
137
138 git-add-data::
139         cd data; git add -v --all . 
140
141 git-add-tutorial::
142         cd tutorial; git add -v --all . 
143
144 git-add-others::
145         cd others; git add -v --all . 
146
147 git-add-others2::
148         cd others2; git add --all . 
149
150 #
151 # Commit
152 #
153
154 git-commit-all:: git-commit git-commit-data git-commit-optional git-commit-tutorial git-commit-others
155
156 git-commit:: git-commit-hostdepend
157         @git commit || echo "Already commited" 
158
159 git-commit-hostdepend::
160         @cd hostdepend/$${EOS_HOSTDIR}/ ; git commit || echo "Already commited"  
161
162 git-commit-optional::
163         cd optional; git commit  
164
165 git-commit-data::
166         cd data; git commit 
167
168 git-commit-tutorial::
169         cd tutorial; git commit 
170
171 git-commit-others::
172         cd others; git commit 
173
174 git-commit-others2::
175         cd others2; git commit 
176
177 git-backup::
178         git push $(EOS_GIT_BACKUPSITE) master  --tags
179
180 #
181 # tag
182 #
183
184 git-tag::
185         @export DIRECTORYNAME=./; \
186         make git-tag-common;
187
188 git-tag-optional::
189         @export DIRECTORYNAME=optional; \
190         make git-tag-common;
191
192 git-tag-data::
193         @export DIRECTORYNAME=data; \
194         make git-tag-common;
195
196 git-tag-tutorial::
197         @export DIRECTORYNAME=tutorial; \
198         make git-tag-common;
199
200 git-tag-others::
201         @export DIRECTORYNAME=others; \
202         make git-tag-common;
203
204 git-tag-common::
205         @if [ ! -z "$$DIRECTORYNAME" ]; then \
206                 cd $$DIRECTORYNAME; \
207                 echo; \
208                 git tag | sort -k 2,2 -n -t p ; \
209                 echo -n "Version No. (e.g. vXX.YY.ZZpSSSS) : "; \
210                 read TTT; \
211                 if [ ! -z "$$TTT" ]; then \
212                         git tag $$TTT; \
213                 else \
214                         echo "Incorrect."; \
215                 fi; \
216         fi;
217
218 #
219 # push
220
221
222 git-push-all:: git-push git-push-data git-push-optional git-push-tutorial git-push-others
223
224 git-push::git-push-hostdepend
225 #       git push origin master  --tags
226         @echo "base"
227         @export DIRECTORYNAME=./; \
228         export ORIGINNAME=origin; \
229         make git-push-with-check;
230
231 git-push-hostdepend::
232         #git subtree push --prefix=hostdepend/$${EOS_HOSTDIR}/ --squash hostdepend$${EOS_HOSTDIR} master 
233         @echo "hostdepend"
234         @cd hostdepend/$${EOS_HOSTDIR}/;  git push hostdepend$${EOS_HOSTDIR} master 
235
236 git-push-optional::
237 #       cd optional; git push optional master --tags
238         @export DIRECTORYNAME=optional; \
239         export ORIGINNAME=optional; \
240         make git-push-with-check;
241
242 git-push-data::
243 #       cd data; git push data master --tags
244         @export DIRECTORYNAME=data; \
245         export ORIGINNAME=data; \
246         make git-push-with-check;
247
248 git-push-tutorial::
249 #       cd tutorial; git push tutorial master --tags
250         @export DIRECTORYNAME=tutorial; \
251         export ORIGINNAME=tutorial; \
252         make git-push-with-check;
253
254 git-push-others::
255 #       cd others; git push others master --tags
256         @export DIRECTORYNAME=others; \
257         export ORIGINNAME=others; \
258         make git-push-with-check;
259
260 git-push-with-check::
261         @if [ ! -z "$$DIRECTORYNAME" -a ! -z "$$ORIGINNAME" ]; then \
262                 cd $$DIRECTORYNAME; \
263                 echo; \
264                 SSS=`git tag | sort -k 2,2 -n -t p | tail -1`; \
265                 if [ ! -z "$$SSS" ]; then \
266                         echo "$$SSS is Current Tags in $$ORIGINNAME."; \
267                         echo -n "Was the current tag updated? [ Y|y | N|n ]: "; \
268                         read TTT; \
269                         if [ "$$TTT" = Y -o "$$TTT" = y ]; then \
270                                 git push $$ORIGINNAME master --tags; \
271                         else \
272                                 echo "not push."; \
273                         fi; \
274                 else \
275                         echo "Tags do not exist in $$ORIGINNAME."; \
276                         echo "Before push please add tag at current repositry."; \
277                 fi; \
278         fi;
279
280 #
281 # fetch
282 #
283 git-fetch-all:: git-fetch fit-fetch-zephyr git-fetch-data git-fetch-optional git-fetch-tutorial git-fetch-others
284
285 git-fetch::git-pull-hostdepend
286         @echo "fetch: base directory" 
287         @cd .       ; git fetch origin master --tags    ; git log -1 || echo "No files to be fetched"
288
289 git-pull-hostdepend::
290         @#git subtree pull --prefix=hostdepend/$${EOS_HOSTDIR}/ --squash hostdepend$${EOS_HOSTDIR} master 
291         @echo "pull: hostdepend directory"
292         @cd hostdepend/$${EOS_HOSTDIR}/; git pull --unshallow hostdepend$${EOS_HOSTDIR} master || echo "No files to be fetched" 
293
294 git-fetch-zephyr::
295         cd zephyr; git fetch zephyr master --tags               ; git log -1
296
297 git-fetch-data::
298         cd data    ; git fetch data master --tags               ; git log -1
299
300 git-fetch-optional::
301         cd optional; git fetch optional master --tags   ; git log -1
302
303 git-fetch-tutorial::
304         cd tutorial; git fetch tutorial master --tags   ; git log -1
305
306 git-fetch-others::
307         cd others  ; git fetch others master --tags             ; git log -1
308
309 #
310 # merge
311 #
312 git-merge-all:: git-merge git-merge-zephyr git-merge-data git-merge-optional git-merge-tutorial git-merge-others
313
314 git-merge::
315         cd .       ; git log -1; git merge FETCH_HEAD 
316
317 git-merge-zephyr::
318         cd zephyr  ; git log -1; git merge FETCH_HEAD 
319
320 git-merge-data::
321         cd data    ; git log -1; git merge FETCH_HEAD 
322
323 git-merge-optional::
324         cd optional; git log -1; git merge FETCH_HEAD
325
326 git-merge-tutorial::
327         cd tutorial; git log -1; git merge FETCH_HEAD 
328
329 git-merge-others::
330         cd others  ; git log -1; git merge FETCH_HEAD 
331
332 #
333 # Nickname 
334 #
335
336 # init
337 git-init-all:: git-init git-init-zephyr git-init-data git-init-optional git-init-tutorial git-init-others
338
339 git-init:: git-add-hostdepend
340         if [ ! -d .git ] ; then git init        ; fi
341         @export ORIGINNAME=origin; \
342         make git-remote-add;
343
344 git-init-data::
345         if [ ! -d data ] ; then mkdir data; fi
346         cd data; \
347         if [ ! -d .git ] ; then git init        ; fi ;
348         @export ORIGINNAME=data; \
349         make git-remote-add-data;
350
351 git-init-zephyr::
352         if [ ! -d zephyr ] ; then mkdir zephyr ; fi
353         cd zephyr; \
354         if [ ! -d .git ] ; then git init        ; fi ;
355         @export ORIGINNAME=zephyr; \
356         make git-remote-add-zephyr;
357
358 git-init-pione::
359         if [ ! -d pione ] ; then mkdir pione; fi
360         cd pione; \
361         if [ ! -d .git ] ; then git init        ; fi ;
362         @export ORIGINNAME=pione; \
363         make git-remote-add-pione;
364
365 git-init-optional::
366         if [ ! -d optional ] ; then mkdir optional; fi
367         if [ ! -L doc      ] ; then ln -sf optional/doc . ; fi
368         if [ ! -L objects  ] ; then ln -sf optional/objects . ; fi
369         cd optional; \
370         if [ ! -d .git ] ; then git init        ; fi ;
371         @export ORIGINNAME=optional; \
372         make git-remote-add-optional;
373
374 git-init-tutorial::
375         if [ ! -d tutorial ] ; then mkdir tutorial ; fi
376         cd tutorial; \
377         if [ ! -d .git ] ; then git init        ; fi ;
378         @export ORIGINNAME=tutorial; \
379         make git-remote-add-tutorial;
380
381 git-init-others::
382         if [ ! -d others ] ; then mkdir others; fi
383         cd others ; \
384         if [ ! -d .git ] ; then git init        ; fi ;
385         @export ORIGINNAME=others; \
386         make git-remote-add-others;
387
388 git-init-others2::
389         if [ ! -d others2 ] ; then mkdir others2; fi
390         cd others2 ; git remote add others2 $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_OTHERS)
391
392 # clone
393
394 git-clone-all:: git-clone
395         @if [ ! -z "$${EOS_HOME}" -a -d "$${EOS_HOME}" ] ; then \
396                 cd $${EOS_HOME} ; \
397                 make git-clone-data git-clone-optional git-clone-tutorial git-clone-others; \
398         fi;
399
400 git-clone::
401         @if [ ! -z "$${EOS_HOME}" -a -d "$${EOS_HOME}" ] ; then \
402                 TMPDIRECTORY=$$(pwd) ; \
403                 cd $${EOS_HOME} ; \
404                 if [ ! -d  .git ] ; \
405                 then \
406                         if [ -z $${EOS_GITUSER} ] ; then \
407                                 git clone --depth 1 $(EOS_GIT_REPOSITRY_NOUSER) ./ ; \
408                         else \
409                                 git clone --depth 1 $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY) ./ ; \
410                         fi ; \
411                         cd $${TMPDIRECTORY}; \
412                         export ORIGINNAME=origin; \
413                         make git-remote-add; \
414                 fi; \
415         fi;
416
417 git-clone-zephyr::
418         if [ ! -d zephyr] ; then mkdir zephyr; fi
419         @cd zephyr;  if [ ! -d .git ] ; \
420         then \
421                 if [ -z $${EOS_GITUSER} ] ; then \
422                         git clone --depth 1 $(EOS_GIT_REPOSITRY_ZEPHYR_NOUSER) ./ ; \
423                 else \
424                         git clone --depth 1 $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_ZEPHYR) ./; \
425                 fi ; \
426                 cd ../ ; \
427                 export ORIGINNAME=zephyr; \
428                 make git-remote-add-zephyr; \
429         fi
430
431 git-clone-data::
432         if [ ! -d data ] ; then mkdir data; fi
433         @cd data;  if [ ! -d .git ] ; \
434         then \
435                 if [ -z $${EOS_GITUSER} ] ; then \
436                         git clone --depth 1 $(EOS_GIT_REPOSITRY_DATA_NOUSER) ./ ; \
437                 else \
438                         git clone --depth 1 $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_DATA) ./; \
439                 fi ; \
440                 cd ../ ; \
441                 export ORIGINNAME=data; \
442                 make git-remote-add-data; \
443         fi
444
445 git-clone-optional::
446         if [ ! -d optional ] ; then mkdir optional; fi
447         if [ ! -L doc      ] ; then ln -sf optional/doc . ; fi
448         if [ ! -L objects  ] ; then ln -sf optional/objects . ; fi
449         @cd optional; if [ ! -d .git ] ; \
450         then \
451                 if [ -z $${EOS_GITUSER} ] ; then \
452                         git clone --depth 1 $(EOS_GIT_REPOSITRY_OPTIONAL_NOUSER) ./ ; \
453                 else \
454                         git clone --depth 1 $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_OPTIONAL) ./ ; \
455                 fi ; \
456                 cd ../ ; \
457                 export ORIGINNAME=optional; \
458                 make git-remote-add-optional; \
459         fi
460
461 git-clone-tutorial::
462         if [ ! -d tutorial ] ; then mkdir tutorial ; fi
463         @cd tutorial; if [ ! -d .git ] ; \
464         then \
465                 if [ -z $${EOS_GITUSER} ] ; then \
466                         git clone --depth 1 $(EOS_GIT_REPOSITRY_TUTORIAL_NOUSER) ./ ; \
467                 else \
468                         git clone --depth 1 $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_TUTORIAL) ./ ; \
469                 fi; \
470                 cd ../ ; \
471                 export ORIGINNAME=tutorial; \
472                 make git-remote-add-tutorial; \
473         fi
474
475 git-clone-others::
476         if [ ! -d others ] ; then mkdir others; fi
477         @cd others ; if [ ! -d .git ] ; \
478         then \
479                 if [ -z $${EOS_GITUSER} ] ; then \
480                         git clone --depth 1 $(EOS_GIT_REPOSITRY_OTHERS_NOUSER) ./ ; \
481                 else \
482                         git clone --depth 1 $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_OTHERS) ./ ; \
483                 fi; \
484                 cd ../ ; \
485                 export ORIGINNAME=others; \
486                 make git-remote-add-others; \
487         fi
488 #
489 # add
490 #
491 git-remote-add::
492         @if [ ! -z "$$ORIGINNAME" -a ! -z "$${EOS_HOME}" -a -d "$${EOS_HOME}"  ]; then \
493                 cd $${EOS_HOME}; \
494                 SSS=`git remote -v | awk '{print $$1}' | grep origin`; if [ ! -z "$$SSS" ] ; then git remote rm origin ; fi ; \
495                 if [ -z $${EOS_GITUSER} ] ; then \
496                         git remote add origin    $(EOS_GIT_REPOSITRY_NOUSER); \
497                 else \
498                         git remote add origin    $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY); \
499                 fi ; \
500         fi;
501
502 git-remote-add-zephyr::
503         @if [ ! -z "$$ORIGINNAME" ]; then \
504                 cd $$ORIGINNAME; \
505                 SSS=`git remote -v | awk '{print $$1}' | grep data`; if [ ! -z "$$SSS" ] ; then git remote rm zephyr; fi ; \
506                 if [ -z $${EOS_GITUSER} ] ; then \
507                         git remote add zephyr $(EOS_GIT_REPOSITRY_ZEPHYR_NOUSER); \
508                 else \
509                         git remote add zephyr $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_ZEPHYR); \
510                 fi ; \
511         fi;
512
513 git-remote-add-data::
514         @if [ ! -z "$$ORIGINNAME" ]; then \
515                 cd $$ORIGINNAME; \
516                 SSS=`git remote -v | awk '{print $$1}' | grep data`; if [ ! -z "$$SSS" ] ; then git remote rm data ; fi ; \
517                 if [ -z $${EOS_GITUSER} ] ; then \
518                         git remote add data    $(EOS_GIT_REPOSITRY_DATA_NOUSER); \
519                 else \
520                         git remote add data    $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_DATA); \
521                 fi ; \
522         fi;
523
524 git-remote-add-optional::
525         @if [ ! -z "$$ORIGINNAME" ]; then \
526                 cd $$ORIGINNAME; \
527                 SSS=`git remote -v | awk '{print $$1}' | grep optional`; if [ ! -z "$$SSS" ] ; then git remote rm optional ; fi ; \
528                 if [ -z $${EOS_GITUSER} ] ; then \
529                         git remote add optional    $(EOS_GIT_REPOSITRY_OPTIONAL_NOUSER); \
530                 else \
531                         git remote add optional    $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_OPTIONAL); \
532                 fi ; \
533         fi;
534
535 git-remote-add-tutorial::
536         @if [ ! -z "$$ORIGINNAME" ]; then \
537                 cd $$ORIGINNAME; \
538                 SSS=`git remote -v | awk '{print $$1}' | grep tutorial`; if [ ! -z "$$SSS" ] ; then git remote rm tutorial ; fi ; \
539                 if [ -z $${EOS_GITUSER} ] ; then \
540                         git remote add tutorial    $(EOS_GIT_REPOSITRY_TUTORIAL_NOUSER); \
541                 else \
542                         git remote add tutorial    $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_TUTORIAL); \
543                 fi ; \
544         fi;
545
546 git-remote-add-others::
547         @if [ ! -z "$$ORIGINNAME" ]; then \
548                 cd $$ORIGINNAME; \
549                 SSS=`git remote -v | awk '{print $$1}' | grep others`; if [ ! -z "$$SSS" ] ; then git remote rm others ; fi ; \
550                 if [ -z $${EOS_GITUSER} ] ; then \
551                         git remote add others    $(EOS_GIT_REPOSITRY_OTHERS_NOUSER); \
552                 else \
553                         git remote add others    $${EOS_GITUSER}@$(EOS_GIT_REPOSITRY_OTHERS); \
554                 fi ; \
555         fi;