Differences From Artifact [ac31fd0048]:

To Artifact [a0bd5a4a35]:


117
118
119
120
121
122
123
124

125
126
127

128
129
130
131
132

133
134
135
136
137

138
139
140
141
142
143
144
117
118
119
120
121
122
123

124
125
126

127
128
129
130
131

132
133
134
135
136

137
138
139
140
141
142
143
144







-
+


-
+




-
+




-
+







	@echo '# This file is auto-generated - do not edit'		>>mtt.sh.tmp
	@echo ''							>>mtt.sh.tmp
	@echo 'mtt_config_file=$(CONFDIR)/mtt.conf'			>>mtt.sh.tmp
	@echo 'mtt_program_dir=$(PROGDIR)'				>>mtt.sh.tmp
	@echo 'mtt_install_dir=$(INSTDIR)'				>>mtt.sh.tmp
	@echo ''							>>mtt.sh.tmp
	@echo '# get site-specific settings'				>>mtt.sh.tmp
	@echo 'if [[ -r $${mtt_config_file} ]]; then'			>>mtt.sh.tmp
	@echo 'if [ -r $${mtt_config_file} ]; then'			>>mtt.sh.tmp
	@echo '   . $${mtt_config_file} $${mtt_install_dir} >/dev/null'	>>mtt.sh.tmp
	@echo ''							>>mtt.sh.tmp
	@echo 'elif [[ -r $${mtt_install_dir}/bin/mttrc ]]; then'	>>mtt.sh.tmp
	@echo 'elif [ -r $${mtt_install_dir}/bin/mttrc ]; then'		>>mtt.sh.tmp
	@echo '   . $${mtt_install_dir}/bin/mttrc $${mtt_install_dir}'	>>mtt.sh.tmp
	@echo 'fi'							>>mtt.sh.tmp
	@echo ''							>>mtt.sh.tmp
	@echo '# get user-specific settings'				>>mtt.sh.tmp
	@echo 'if [[ -r $${HOME}/.mttrc ]]; then'			>>mtt.sh.tmp
	@echo 'if [ -r $${HOME}/.mttrc ]; then'				>>mtt.sh.tmp
	@echo '   . $${HOME}/.mttrc'					>>mtt.sh.tmp
	@echo 'fi'							>>mtt.sh.tmp
	@echo ''							>>mtt.sh.tmp
	@echo '# get directory-specific settings'			>>mtt.sh.tmp
	@echo 'if [[ -r ./.mttrc ]]; then'				>>mtt.sh.tmp
	@echo 'if [ -r ./.mttrc ]; then'				>>mtt.sh.tmp
	@echo '   . ./.mttrc'						>>mtt.sh.tmp
	@echo 'fi'							>>mtt.sh.tmp
	@echo ''							>>mtt.sh.tmp

mtt.sh: mtt.sh.tmp
	@cat mtt.sh.tmp bin/mtt						> mtt.sh


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]