Overview
Comment:Made Xfig bond graph library available alongside standard libraries (debian)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: aa637e07f1e100723c5420c4afc747c274a15ce8184d8e998058f48ddd55bbfc
User & Date: geraint@users.sourceforge.net on 2003-11-13 00:42:51.000
Other Links: branch diff | manifest | tags
Context
2003-11-18
00:52:51
Added extras.domain default parameter check-in: 738e0032e9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2003-11-13
00:42:51
Made Xfig bond graph library available alongside standard libraries (debian) check-in: aa637e07f1 user: geraint@users.sourceforge.net tags: origin/master, trunk
2003-11-05
00:58:56
Removed debugging stuff check-in: 8bffa25a49 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes
1
2
3
4
5
6
7
8
9
10
11
12



13
14
15
16
17
18
19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22












+
+
+







#! /usr/bin/make -f

# Destinations compliant with Filesystem Hierarchy Standard (FHS) 2.1
# DESTDIR prefix required by Debian build process
CONFDIR=$(DESTDIR)/etc
PROGDIR=$(DESTDIR)/usr/bin
INSTDIR=$(DESTDIR)/usr/share/mtt

# DOCPATH and INFOPATH required by doc/Makefile
DOCDIR=$(DESTDIR)/usr/share/doc/mtt
INFODIR=$(DESTDIR)/usr/share/info

# XFIG Libraries directory
XFIGDIR=$(DESTDIR)/usr/share/xfig/Libraries

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

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

build-cc:
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
75
76
77
78
79
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92







+
+
+
+
+
+
-
+





-
+













+
+
+
+







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

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

distclean: clean clean-cc clean-conf clean-doc
distclean: clean clean-cc clean-conf clean-doc clean-xfig
	@-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
	@cat bin/mttrc | grep -v 'MTT_LIB/xfig' > $(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)
	@cd doc ; DOCPATH=$(DOCDIR) INFOPATH=$(INFODIR) make -s install-doc
	@cd doc ; install Makefile mtt.info* mtt.pdf mtt.ps.gz $(DOCDIR)
	@install doc/mtt.info* $(INFODIR)

install-xfig: clean-xfig.sh
	@install -d $(XFIGDIR)
	@cp -a   lib/xfig $(XFIGDIR)/MTT_Bond_Graph

.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 $(PROGDIR)/xmtt'			>>clean.sh
	@echo 'rm -fr $(INSTDIR)'					>>clean.sh
90
91
92
93
94
95
96





97
98
99
100
101
102
103
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121







+
+
+
+
+








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

clean-xfig.sh: FORCE
	@echo '#! /bin/sh'						>>clean-xfig.sh
	@echo '# This file is auto-generated - do not edit'		>>clean-xfig.sh
	@echo 'rm -f  $(XFIGDIR)/MTT_Bond_Graph'			>>clean-xfig.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
49
50
51
52
53
54
55
56

57
58
59
60
61
62
63
49
50
51
52
53
54
55

56
57
58
59
60
61
62
63







-
+







install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs

	# Add here commands to install the package into debian/mtt.
	$(MAKE) install install-doc DESTDIR=$(CURDIR)/debian/mtt
	$(MAKE) install install-doc install-xfig DESTDIR=$(CURDIR)/debian/mtt


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
	dh_testdir
	dh_testroot

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