comparison makefile @ 3072:32191c9fe2cd

makefiles: Always use ECHO macro define
author Tormod Volden <debian.tormod@gmail.com>
date Sun, 22 Feb 2015 14:36:52 +0100
parents 7a78f43d97c1
children c2030762022b
comparison
equal deleted inserted replaced
3071:57f06ca40404 3072:32191c9fe2cd
85 scp nitros9project.zip $(SOURCEUSER),nitros9@web.sourceforge.net:/home/project-web/nitros9/htdocs/nitros9project-$(shell date +%Y%m%d).zip 85 scp nitros9project.zip $(SOURCEUSER),nitros9@web.sourceforge.net:/home/project-web/nitros9/htdocs/nitros9project-$(shell date +%Y%m%d).zip
86 ssh $(SOURCEUSER),nitros9@shell.sourceforge.net create 86 ssh $(SOURCEUSER),nitros9@shell.sourceforge.net create
87 ssh $(SOURCEUSER),nitros9@shell.sourceforge.net "./burst nitros9project $(shell date +%Y%m%d)" 87 ssh $(SOURCEUSER),nitros9@shell.sourceforge.net "./burst nitros9project $(shell date +%Y%m%d)"
88 else 88 else
89 nightly: 89 nightly:
90 @echo "" 90 @$(ECHO) ""
91 @echo "" 91 @$(ECHO) ""
92 @echo "You need to set the SOURCEUSER variable" 92 @$(ECHO) "You need to set the SOURCEUSER variable"
93 @echo "You may wish to refer to the nightly" 93 @$(ECHO) "You may wish to refer to the nightly"
94 @echo "section of the makefile." 94 @$(ECHO) "section of the makefile."
95 endif 95 endif
96 96
97 # This section is to run a nightly test. 97 # This section is to run a nightly test.
98 # This requires you to setup a environment variable 98 # This requires you to setup a environment variable
99 # called TESTSSHSERVER. 99 # called TESTSSHSERVER.
110 $(ARCHIVE) nitros9project $(DSKDIR)/* 110 $(ARCHIVE) nitros9project $(DSKDIR)/*
111 scp nitros9project.zip $(TESTSSHSERVER):$(TESTSSHDIR)/nitros9project-$(shell date +%Y%m%d).zip 111 scp nitros9project.zip $(TESTSSHSERVER):$(TESTSSHDIR)/nitros9project-$(shell date +%Y%m%d).zip
112 ssh $(TESTSSHSERVER) "./burst nitros9project $(shell date +%Y%m%d)" 112 ssh $(TESTSSHSERVER) "./burst nitros9project $(shell date +%Y%m%d)"
113 else 113 else
114 nightlytest: 114 nightlytest:
115 @echo "" 115 @$(ECHO) ""
116 @echo "" 116 @$(ECHO) ""
117 @echo "You need to set the TESTSSHDIR variable" 117 @$(ECHO) "You need to set the TESTSSHDIR variable"
118 @echo "You may wish to refer to the nightlytest" 118 @$(ECHO) "You may wish to refer to the nightlytest"
119 @echo "section of the makefile to see what" 119 @$(ECHO) "section of the makefile to see what"
120 @echo "needs to be setup first before using" 120 @$(ECHO) "needs to be setup first before using"
121 @echo "this option" 121 @$(ECHO) "this option"
122 endif 122 endif
123 else 123 else
124 nightlytest: 124 nightlytest:
125 @echo "" 125 @$(ECHO) ""
126 @echo "" 126 @$(ECHO) ""
127 @echo "You need to set the TESTSSHSERVER variable" 127 @$(ECHO) "You need to set the TESTSSHSERVER variable"
128 @echo "You may wish to refer to the nightlytest" 128 @$(ECHO) "You may wish to refer to the nightlytest"
129 @echo "section of the makefile to see what" 129 @$(ECHO) "section of the makefile to see what"
130 @echo "needs to be setup first before using" 130 @$(ECHO) "needs to be setup first before using"
131 @echo "this option." 131 @$(ECHO) "this option."
132 endif 132 endif