Overview
Comment:Separated removal of conf file from normal clean procedure.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 04a476cc3f3c97c9cde5715f250722ed06dcf8808584de3c88f0e48ce7625620
User & Date: geraint@users.sourceforge.net on 2002-04-27 12:45:44.000
Other Links: branch diff | manifest | tags
Context
2002-04-27
21:05:53
install xmtt alongside mtt in /usr/bin check-in: 668e06ca5a user: geraint@users.sourceforge.net tags: origin/master, trunk
12:45:44
Separated removal of conf file from normal clean procedure. check-in: 04a476cc3f user: geraint@users.sourceforge.net tags: origin/master, trunk
11:13:04
Now builds targets in cc directory.
Now correctly cleans doc directory.
Uses /usr/bin/install instead of cp, mkdir and chmod.
check-in: 8fccaa2beb user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes
21
22
23
24
25
26
27






28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57





58
59
60
61
62
63
64

clean:
	@touch clean.sh
	@-chmod a+x clean.sh
	@./clean.sh
	@rm -f clean.sh







clean-doc:
	@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-doc
	@-rm -f build-stamp configure-stamp config.log mtt.sh

install: build clean.sh
	@install -d $(INSTDIR) $(CONFDIR) $(PROGDIR)
	@install -d $(INSTDIR)/bin $(INSTDIR)/cc $(INSTDIR)/lib
	@install bin/mttrc $(CONFDIR)/mtt.conf
	@install mtt.sh $(PROGDIR)/mtt
	@install cc/parse_m2cc.exe $(INSTDIR)/bin/trans

install-doc: clean-doc.sh
	@install -d $(DOCDIR) $(INFODIR)
	@cd doc ; DOCPATH=$(DOCDIR) INFOPATH=$(INFODIR) make -s install-doc

.PHONY: FORCE

clean.sh: FORCE
	@echo '#! /bin/sh'						>>clean.sh
	@echo '# This file is auto-generated - do not edit'		>>clean.sh
	@echo 'rm -f  $(CONFDIR)/mtt.conf'				>>clean.sh
	@echo 'rm -f  $(PROGDIR)/mtt'					>>clean.sh
	@echo 'rm -fr $(INSTDIR)'					>>clean.sh






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:







>
>
>
>
>
>







|


















<



>
>
>
>
>







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

60
61
62
63
64
65
66
67
68
69
70
71
72
73
74

clean:
	@touch clean.sh
	@-chmod a+x clean.sh
	@./clean.sh
	@rm -f clean.sh

clean-conf:
	@touch clean-conf.sh
	@-chmod a+x clean-conf.sh
	@./clean-conf.sh
	@rm -f clean-conf.sh

clean-doc:
	@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-conf clean-doc
	@-rm -f build-stamp configure-stamp config.log mtt.sh

install: build clean.sh
	@install -d $(INSTDIR) $(CONFDIR) $(PROGDIR)
	@install -d $(INSTDIR)/bin $(INSTDIR)/cc $(INSTDIR)/lib
	@install bin/mttrc $(CONFDIR)/mtt.conf
	@install mtt.sh $(PROGDIR)/mtt
	@install cc/parse_m2cc.exe $(INSTDIR)/bin/trans

install-doc: clean-doc.sh
	@install -d $(DOCDIR) $(INFODIR)
	@cd doc ; DOCPATH=$(DOCDIR) INFOPATH=$(INFODIR) make -s install-doc

.PHONY: FORCE

clean.sh: FORCE
	@echo '#! /bin/sh'						>>clean.sh
	@echo '# This file is auto-generated - do not edit'		>>clean.sh

	@echo 'rm -f  $(PROGDIR)/mtt'					>>clean.sh
	@echo 'rm -fr $(INSTDIR)'					>>clean.sh

clean-conf.sh: FORCE
	@echo '#! /bin/sh'						>>clean-conf.sh
	@echo '# This file is auto-generated - do not edit'		>>clean-conf.sh
	@echo 'rm -f  $(CONFDIR)/mtt.conf'				>>clean-conf.sh

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:

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