Differences From Artifact [50762f29ff]:

To Artifact [850924ab83]:


51
52
53
54
55
56
57
58

59
60
61
62
63
64
65
66
67
68
69
70

71
72
73
74
75
76
77
51
52
53
54
55
56
57

58
59
60
61
62
63
64
65
66
67
68
69

70
71
72
73
74
75
76
77







-
+











-
+







	@cd doc ; make -s clean

distclean: clean clean-cc clean-conf clean-doc
	@-rm -f build-stamp configure-stamp config.log mtt.sh

install: build clean.sh clean-conf.sh
	@install -d $(INSTDIR) $(CONFDIR) $(PROGDIR)
	@cp -a   bin cc lib $(INSTDIR)
	@cp -a   bin cc doc lib $(INSTDIR)
	@install bin/mttrc $(CONFDIR)/mtt.conf
	@install mtt.sh $(PROGDIR)/mtt
	@install bin/xmtt $(PROGDIR)

install-cc: build-cc clean-cc.sh
	@install -d $(INSTDIR)/bin/trans
	@install cc/parse_m2cc.exe $(INSTDIR)/bin/trans

install-doc: build-doc clean-doc.sh
	@install -d $(DOCDIR) $(INFODIR)
	@cd doc ; DOCPATH=$(DOCDIR) INFOPATH=$(INFODIR) make -s install-doc
	@install doc/Makefile doc/*.* $(DOCDIR)
	@cd doc ; install Makefile mtt.info* mtt.pdf mtt.ps.gz $(DOCDIR)
	@install doc/mtt.info* $(INFODIR)

.PHONY: FORCE

clean.sh: FORCE
	@echo '#! /bin/sh'						>>clean.sh
	@echo '# This file is auto-generated - do not edit'		>>clean.sh
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
106
107
108
109
110
111
112


113
114
115
116
117
118
119
120
121
122
123







-
-











	@echo 'if [[ -r $${mtt_config_file} ]]; then'			>>mtt.sh
	@echo '   . $${mtt_config_file} $${mtt_install_dir}'		>>mtt.sh
	@echo ''							>>mtt.sh
	@echo 'elif [[ -r $${mtt_install_dir}/bin/mttrc ]]; then'	>>mtt.sh
	@echo '   . $${mtt_install_dir}/bin/mttrc $${mtt_install_dir}'	>>mtt.sh
	@echo 'fi'							>>mtt.sh
	@echo ''							>>mtt.sh
	@echo 'MTT_DOC=$(DOCDIR)'					>>mtt.sh
	@echo ''							>>mtt.sh
	@echo '# get user-specific settings'				>>mtt.sh
	@echo 'if [[ -r $${HOME}/.mttrc ]]; then'			>>mtt.sh
	@echo '   . $${HOME}/.mttrc'					>>mtt.sh
	@echo 'fi'							>>mtt.sh
	@echo ''							>>mtt.sh
	@echo '# get directory-specific settings'			>>mtt.sh
	@echo 'if [[ -r ./.mttrc ]]; then'				>>mtt.sh
	@echo '   . ./.mttrc'						>>mtt.sh
	@echo 'fi'							>>mtt.sh
	@echo ''							>>mtt.sh
	@cat bin/mtt							>>mtt.sh

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