Overview
Comment:deb-installed xmtt now reads configuration data before starting (like mtt).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 6d7973df5420e43862d271ec6945a5a75dd6208988ddd47d3c1c2edcacdf7b33
User & Date: geraint@users.sourceforge.net on 2003-08-07 23:26:52
Other Links: branch diff | manifest | tags
Context
2003-08-07
23:28:00
Removed unnecessary /usr/sbin. check-in: df1d2e0ef8 user: geraint@users.sourceforge.net tags: origin/master, trunk
23:26:52
deb-installed xmtt now reads configuration data before starting (like mtt). check-in: 6d7973df54 user: geraint@users.sourceforge.net tags: origin/master, trunk
2003-08-06
22:39:40
Fixed reporting of non-existent software, no longer says "is OK and has version .". check-in: 9d4576998a user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/Makefile from [83b11ff704] to [aa9892b17a].

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DOCDIR=$(DESTDIR)/usr/share/doc/mtt
INFODIR=$(DESTDIR)/usr/share/info

configure: configure-stamp
configure-stamp:
	@touch configure-stamp

build: configure mtt.sh build-stamp

build-cc:
	@cd cc ; make -s build

build-doc:
	@cd doc ; make -s all








|







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DOCDIR=$(DESTDIR)/usr/share/doc/mtt
INFODIR=$(DESTDIR)/usr/share/info

configure: configure-stamp
configure-stamp:
	@touch configure-stamp

build: configure mtt.sh xmtt.sh build-stamp

build-cc:
	@cd cc ; make -s build

build-doc:
	@cd doc ; make -s all

47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
	@touch clean-doc.sh
	@-chmod a+x clean-doc.sh
	@./clean-doc.sh
	@rm -f clean-doc.sh
	@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 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)







|





|
|







47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
	@touch clean-doc.sh
	@-chmod a+x clean-doc.sh
	@./clean-doc.sh
	@rm -f clean-doc.sh
	@cd doc ; make -s clean

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

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

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)
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122


123




clean-doc.sh: FORCE
	@echo '#! /bin/sh'						>>clean-doc.sh
	@echo '# This file is auto-generated - do not edit'		>>clean-doc.sh
	@echo 'rm -fr $(DOCDIR)'					>>clean-doc.sh
	@echo 'rm -f  $(INFODIR)/mtt.info*'				>>clean-doc.sh

mtt.sh:
	@echo '#! /bin/sh'						> mtt.sh
	@echo '# This file is auto-generated - do not edit'		>>mtt.sh
	@echo ''							>>mtt.sh
	@echo 'mtt_config_file=$(CONFDIR)/mtt.conf'			>>mtt.sh
	@echo 'mtt_program_dir=$(PROGDIR)'				>>mtt.sh
	@echo 'mtt_install_dir=$(INSTDIR)'				>>mtt.sh
	@echo ''							>>mtt.sh
	@echo '# get site-specific settings'				>>mtt.sh
	@echo 'if [[ -r $${mtt_config_file} ]]; then'			>>mtt.sh
	@echo '   . $${mtt_config_file} $${mtt_install_dir} >/dev/null'	>>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 '# 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










|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
>
|
>
>
>
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128

clean-doc.sh: FORCE
	@echo '#! /bin/sh'						>>clean-doc.sh
	@echo '# This file is auto-generated - do not edit'		>>clean-doc.sh
	@echo 'rm -fr $(DOCDIR)'					>>clean-doc.sh
	@echo 'rm -f  $(INFODIR)/mtt.info*'				>>clean-doc.sh

mtt.sh.tmp:
	@echo '#! /bin/sh'						> mtt.sh.tmp
	@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 '   . $${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 '   . $${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 '   . $${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 '   . ./.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

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


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