Overview
Comment:Do not include CVS administrative directories in package.
Do not download unnecessary directories (gino, ntt, patches).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 6ef604ae64a9411a95841a3dc23b51f4957dd950e9d60bd32d35cf970811b5ca
User & Date: geraint@users.sourceforge.net on 2004-08-18 15:45:15
Other Links: branch diff | manifest | tags
Context
2004-08-18
16:57:34
Updated package description: Reduce is highly recommended instead of required. check-in: 5463fa845b user: geraint@users.sourceforge.net tags: origin/master, trunk
15:45:15
Do not include CVS administrative directories in package.
Do not download unnecessary directories (gino, ntt, patches).
check-in: 6ef604ae64 user: geraint@users.sourceforge.net tags: origin/master, trunk
2004-08-17
15:51:13
Uses wildcard matching to get all example directories. check-in: 241be7cf79 user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/mtt_cvs2deb from [c42d20bb95] to [b3e73e30cf].

103
104
105
106
107
108
109
110
111

112



113
114
115
116
117
118
119
if [ ! -d ${tmpdir} ]; then
    error "cannot create temporary directory"
fi

# copy sources to working directory
cd ${tmpdir}
if [ "${sources}" = "${default_sources}" ]; then
    cvs -z3 -d:pserver:anonymous@cvs.mtt.sf.net:/cvsroot/mtt co mttroot
else

    cp -a ${sources} .



fi

# generate tarball of sources
cd mttroot
tar -cf mtt-${version}.tar mtt/
tar --file mtt-${version}.tar --delete mtt/lib/examples
gzip mtt-${version}.tar







|

>
|
>
>
>







103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
if [ ! -d ${tmpdir} ]; then
    error "cannot create temporary directory"
fi

# copy sources to working directory
cd ${tmpdir}
if [ "${sources}" = "${default_sources}" ]; then
    cvs -z3 -d:pserver:anonymous@cvs.mtt.sf.net:/cvsroot/mtt export -D now mttroot/mtt
else
    mkdir -p ./mttroot
    cp -a ${sources}/mtt ./mttroot/mtt
    for dir in $(find . -type d -name CVS); do
	rm -r $dir
    done
fi

# generate tarball of sources
cd mttroot
tar -cf mtt-${version}.tar mtt/
tar --file mtt-${version}.tar --delete mtt/lib/examples
gzip mtt-${version}.tar
146
147
148
149
150
151
152
153
154

155



156
157
158
159
160
161
162
if [ ! -d ${tmpdir} ]; then
    error "cannot create temporary directory"
fi

# copy sources to working directory
cd ${tmpdir}
if [ "${sources}" = "${default_sources}" ]; then
    cvs -z3 -d:pserver:anonymous@cvs.mtt.sf.net:/cvsroot/mtt co mttroot
else

    cp -a ${sources} .



fi

# generate tarball of sources
cd mttroot/mtt/lib
tar -cf mtt-examples-${version}.tar examples/
gzip mtt-examples-${version}.tar
cd examples







|

>
|
>
>
>







150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
if [ ! -d ${tmpdir} ]; then
    error "cannot create temporary directory"
fi

# copy sources to working directory
cd ${tmpdir}
if [ "${sources}" = "${default_sources}" ]; then
    cvs -z3 -d:pserver:anonymous@cvs.mtt.sf.net:/cvsroot/mtt export -D now mttroot/mtt/lib/examples
else
    mkdir -p ./mttroot/mtt/lib/
    cp -a ${sources}/mtt/lib/examples ./mttroot/mtt/lib
    for dir in $(find . -type d -name CVS); do
	rm -r $dir
    done
fi

# generate tarball of sources
cd mttroot/mtt/lib
tar -cf mtt-examples-${version}.tar examples/
gzip mtt-examples-${version}.tar
cd examples


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