Overview
Comment:Fixed [ 611908 ] .deb documentation installation.
mtt uses standard mtt/doc directory for mtt info, mtt hinfo, mtt manual.
.deb package installs documentation in /usr/share/doc/mtt at installation.
All documentation features now work correctly when installed as .deb.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: e881364a44fae83b03a96c14ee175adc9fca2df8a731e1ca87a3829ac73d844b
User & Date: geraint@users.sourceforge.net on 2002-09-21 21:08:49
Other Links: branch diff | manifest | tags
Context
2002-09-23
11:14:11
Replacing by new versions check-in: d4d695aba1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-09-21
21:08:49
Fixed [ 611908 ] .deb documentation installation.
mtt uses standard mtt/doc directory for mtt info, mtt hinfo, mtt manual.
.deb package installs documentation in /usr/share/doc/mtt at installation.
All documentation features now work correctly when installed as .deb.
check-in: e881364a44 user: geraint@users.sourceforge.net tags: origin/master, trunk
19:56:02
mtt/doc directory copied to DOCDIR during install-doc.
'mtt info' and 'info mtt' both work now when installed as a .deb package.
check-in: 45fc026497 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/Makefile from [50762f29ff] to [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 ]