added protection against using both --cat and --stack
[swftools.git] / release.in
1 #!/bin/sh
2 name=@PACKAGE@-@VERSION@
3 echo creating $name.tar.gz
4 rm -f ${name}
5 rm -f ${name}.tar
6 rm -f ${name}.tar.gz
7 ln -s ./ ${name}
8 cd lib/action;make generated >/dev/null 2>&1;cd ../..
9 tar -chf ${name}.tar \
10 ${name}/src/swfcombine.1 \
11 ${name}/src/swfstrings.1 \
12 ${name}/src/swfdump.1 \
13 ${name}/src/swfextract.1 \
14 ${name}/src/jpeg2swf.1 \
15 ${name}/src/png2swf.1 \
16 ${name}/src/gif2swf.1 \
17 ${name}/src/wav2swf.1 \
18 ${name}/src/swfc.1 \
19 ${name}/avi2swf/avi2swf.1 \
20 ${name}/pdf2swf/pdf2swf.1 \
21 ${name}/src/swfcombine.c \
22 ${name}/src/swfstrings.c \
23 ${name}/src/swfdump.c \
24 ${name}/src/font2swf.c \
25 ${name}/src/swfbbox.c \
26 ${name}/src/swfbbox.1 \
27 ${name}/src/font2swf.1 \
28 ${name}/src/swfextract.c \
29 ${name}/src/jpeg2swf.c \
30 ${name}/src/png2swf.c \
31 ${name}/src/gif2swf.c \
32 ${name}/src/wav2swf.c \
33 ${name}/src/wav.c \
34 ${name}/src/wav.h \
35 ${name}/src/swfc.c \
36 ${name}/doc/fileformat.sc \
37 ${name}/src/parser.yy.c \
38 ${name}/lib/action/lex.swf4.c \
39 ${name}/lib/action/lex.swf5.c \
40 ${name}/lib/action/swf4compiler.tab.c \
41 ${name}/lib/action/swf5compiler.tab.c \
42 ${name}/lib/action/swf4compiler.tab.h \
43 ${name}/lib/action/swf5compiler.tab.h \
44 ${name}/src/parser.lex \
45 ${name}/src/parser.h \
46 ${name}/lib/art/Makefile.in \
47 ${name}/src/Makefile.in \
48 ${name}/lib/Makefile.in \
49 ${name}/avi2swf/Makefile.in \
50 ${name}/pdf2swf/Makefile.in \
51 ${name}/pdf2swf/xpdf/Makefile.in \
52 ${name}/lib/action/Makefile.in \
53 ${name}/swfs/Makefile.in \
54 ${name}/Makefile.in \
55 ${name}/Makefile.common.in \
56 ${name}/lib/args.h \
57 ${name}/lib/bitio.c \
58 ${name}/lib/bitio.h \
59 ${name}/lib/q.c \
60 ${name}/lib/q.h \
61 ${name}/lib/MD5.h \
62 ${name}/lib/MD5.c \
63 ${name}/lib/png.h \
64 ${name}/lib/png.c \
65 ${name}/lib/drawer.c \
66 ${name}/lib/drawer.h \
67 ${name}/avi2swf/avi2swf.cc \
68 ${name}/avi2swf/videoreader.h \
69 ${name}/avi2swf/videoreader_avifile.hh \
70 ${name}/avi2swf/videoreader_avifile.cc \
71 ${name}/avi2swf/videoreader_vfw.hh \
72 ${name}/avi2swf/videoreader_vfw.cc \
73 ${name}/avi2swf/v2swf.c \
74 ${name}/avi2swf/v2swf.h \
75 ${name}/swfs/simple_viewer.c \
76 ${name}/swfs/keyboard_viewer.c \
77 ${name}/swfs/PreLoaderTemplate.c \
78 ${name}/lib/modules/swfrender.c \
79 ${name}/lib/modules/swfdump.c \
80 ${name}/lib/modules/swfobject.c \
81 ${name}/lib/modules/swfshape.c \
82 ${name}/lib/modules/swftext.c \
83 ${name}/lib/modules/swffont.c \
84 ${name}/lib/gfxfont.h \
85 ${name}/lib/gfxfont.c \
86 ${name}/lib/modules/swfbutton.c \
87 ${name}/lib/modules/swfbits.c \
88 ${name}/lib/modules/swftools.c \
89 ${name}/lib/modules/swfcgi.c \
90 ${name}/lib/modules/swfsound.c \
91 ${name}/lib/modules/swfdraw.c \
92 ${name}/lib/modules/swfaction.c \
93 ${name}/lib/action/action.h \
94 ${name}/lib/action/actioncompiler.c \
95 ${name}/lib/action/actioncompiler.h \
96 ${name}/lib/action/assembler.c \
97 ${name}/lib/action/assembler.h \
98 ${name}/lib/action/blocks/error.h \
99 ${name}/lib/action/compile.c \
100 ${name}/lib/action/compile.h \
101 ${name}/lib/action/libming.c \
102 ${name}/lib/action/libming.h \
103 ${name}/lib/action/listaction.c \
104 ${name}/lib/action/listaction.o \
105 ${name}/lib/action/ming.h \
106 ${name}/lib/action/swf4compiler.flex \
107 ${name}/lib/action/swf4compiler.y \
108 ${name}/lib/action/swf5compiler.flex \
109 ${name}/lib/action/swf5compiler.y \
110 ${name}/lib/h.263/swfvideo.c \
111 ${name}/lib/h.263/h263tables.c \
112 ${name}/lib/h.263/h263tables.h \
113 ${name}/lib/h.263/dct.c \
114 ${name}/lib/h.263/dct.h \
115 ${name}/lib/h.263/Makefile \
116 ${name}/lib/python/Makefile.in \
117 ${name}/lib/python/SWF.c \
118 ${name}/lib/python/image.c \
119 ${name}/lib/python/image.h \
120 ${name}/lib/python/primitives.c \
121 ${name}/lib/python/primitives.h \
122 ${name}/lib/python/pyutils.c \
123 ${name}/lib/python/pyutils.h \
124 ${name}/lib/python/action.c \
125 ${name}/lib/python/action.h \
126 ${name}/lib/python/tag.c \
127 ${name}/lib/python/tag.h \
128 ${name}/lib/python/tags.c \
129 ${name}/lib/python/tags.h \
130 ${name}/lib/python/taglist.c \
131 ${name}/lib/python/taglist.h \
132 ${name}/lib/python/tagmap.c \
133 ${name}/lib/python/tagmap.h \
134 ${name}/lib/rfxswf.c \
135 ${name}/lib/rfxswf.h \
136 ${name}/lib/old_rfxswf.h \
137 ${name}/lib/log.c \
138 ${name}/lib/log.h \
139 ${name}/lib/os.c \
140 ${name}/lib/os.h \
141 ${name}/lib/gfxdevice.h \
142 ${name}/lib/gfxtools.h \
143 ${name}/lib/gfxtools.c \
144 ${name}/pdf2swf/HOWTO_pdf2swf \
145 ${name}/pdf2swf/swfoutput.h \
146 ${name}/pdf2swf/swfoutput.cc \
147 ${name}/pdf2swf/encodings.cc \
148 ${name}/pdf2swf/SWFOutputDev.h \
149 ${name}/pdf2swf/SWFOutputDev.cc \
150 ${name}/pdf2swf/spline.h \
151 ${name}/pdf2swf/spline.cc \
152 ${name}/pdf2swf/pdf2swf.cc \
153 ${name}/pdf2swf/xpdf/Annot.cc \
154 ${name}/pdf2swf/xpdf/Annot.h \
155 ${name}/pdf2swf/xpdf/Array.cc \
156 ${name}/pdf2swf/xpdf/Array.h \
157 ${name}/pdf2swf/xpdf/BuiltinFont.cc \
158 ${name}/pdf2swf/xpdf/BuiltinFont.h \
159 ${name}/pdf2swf/xpdf/BuiltinFontTables.cc \
160 ${name}/pdf2swf/xpdf/BuiltinFontTables.h \
161 ${name}/pdf2swf/xpdf/CMap.cc \
162 ${name}/pdf2swf/xpdf/CMap.h \
163 ${name}/pdf2swf/xpdf/Catalog.cc \
164 ${name}/pdf2swf/xpdf/Catalog.h \
165 ${name}/pdf2swf/xpdf/CharCodeToUnicode.cc \
166 ${name}/pdf2swf/xpdf/CharCodeToUnicode.h  \
167 ${name}/pdf2swf/xpdf/CharTypes.h \
168 ${name}/pdf2swf/xpdf/Decrypt.cc \
169 ${name}/pdf2swf/xpdf/Decrypt.h \
170 ${name}/pdf2swf/xpdf/Dict.cc \
171 ${name}/pdf2swf/xpdf/Dict.h \
172 ${name}/pdf2swf/xpdf/Error.cc \
173 ${name}/pdf2swf/xpdf/Error.h \
174 ${name}/pdf2swf/xpdf/ErrorCodes.h \
175 ${name}/pdf2swf/xpdf/FontEncodingTables.cc \
176 ${name}/pdf2swf/xpdf/FontEncodingTables.h \
177 ${name}/pdf2swf/xpdf/Function.cc \
178 ${name}/pdf2swf/xpdf/Function.h \
179 ${name}/pdf2swf/xpdf/GHash.cc \
180 ${name}/pdf2swf/xpdf/GHash.h \
181 ${name}/pdf2swf/xpdf/GList.cc \
182 ${name}/pdf2swf/xpdf/GList.h \
183 ${name}/pdf2swf/xpdf/GString.cc \
184 ${name}/pdf2swf/xpdf/GString.h \
185 ${name}/pdf2swf/xpdf/Gfx.cc \
186 ${name}/pdf2swf/xpdf/Gfx.h \
187 ${name}/pdf2swf/xpdf/GfxFont.cc \
188 ${name}/pdf2swf/xpdf/GfxFont.h \
189 ${name}/pdf2swf/xpdf/GfxState.cc \
190 ${name}/pdf2swf/xpdf/GfxState.h \
191 ${name}/pdf2swf/xpdf/cmyk.cc \
192 ${name}/pdf2swf/xpdf/cmyk.h \
193 ${name}/pdf2swf/xpdf/GlobalParams.cc \
194 ${name}/pdf2swf/xpdf/GlobalParams.h \
195 ${name}/pdf2swf/xpdf/Lexer.cc \
196 ${name}/pdf2swf/xpdf/Lexer.h \
197 ${name}/pdf2swf/xpdf/Link.cc \
198 ${name}/pdf2swf/xpdf/Link.h \
199 ${name}/pdf2swf/xpdf/NameToCharCode.cc \
200 ${name}/pdf2swf/xpdf/NameToCharCode.h \
201 ${name}/pdf2swf/xpdf/NameToUnicodeTable.h \
202 ${name}/pdf2swf/xpdf/Object.cc \
203 ${name}/pdf2swf/xpdf/Object.h \
204 ${name}/pdf2swf/xpdf/OutputDev.cc \
205 ${name}/pdf2swf/xpdf/OutputDev.h \
206 ${name}/pdf2swf/xpdf/PDFDoc.cc \
207 ${name}/pdf2swf/xpdf/PDFDoc.h \
208 ${name}/pdf2swf/xpdf/PSTokenizer.cc \
209 ${name}/pdf2swf/xpdf/PSTokenizer.h \
210 ${name}/pdf2swf/xpdf/Page.cc \
211 ${name}/pdf2swf/xpdf/Page.h \
212 ${name}/pdf2swf/xpdf/Parser.cc \
213 ${name}/pdf2swf/xpdf/Parser.h \
214 ${name}/pdf2swf/xpdf/Stream-CCITT.h \
215 ${name}/pdf2swf/xpdf/Stream.cc \
216 ${name}/pdf2swf/xpdf/Stream.h \
217 ${name}/pdf2swf/xpdf/UTF8.h \
218 ${name}/pdf2swf/xpdf/UnicodeMap.cc \
219 ${name}/pdf2swf/xpdf/UnicodeMap.h \
220 ${name}/pdf2swf/xpdf/UnicodeMapTables.h \
221 ${name}/pdf2swf/xpdf/XRef.cc \
222 ${name}/pdf2swf/xpdf/XRef.h \
223 ${name}/pdf2swf/xpdf/aconf.h \
224 ${name}/pdf2swf/xpdf/config.h \
225 ${name}/lib/art/art_config.h \
226 ${name}/lib/art/config.h \
227 ${name}/pdf2swf/xpdf/gfile.cc \
228 ${name}/pdf2swf/xpdf/gfile.h \
229 ${name}/pdf2swf/xpdf/gmem.c \
230 ${name}/pdf2swf/xpdf/gmem.h \
231 ${name}/pdf2swf/xpdf/gtypes.h \
232 ${name}/pdf2swf/xpdf/FoFiBase.cc \
233 ${name}/pdf2swf/xpdf/FoFiEncodings.cc \
234 ${name}/pdf2swf/xpdf/FoFiTrueType.cc \
235 ${name}/pdf2swf/xpdf/FoFiType1.cc \
236 ${name}/pdf2swf/xpdf/FoFiType1C.cc \
237 ${name}/pdf2swf/xpdf/JArithmeticDecoder.cc \
238 ${name}/pdf2swf/xpdf/JBIG2Stream.cc \
239 ${name}/pdf2swf/xpdf/JPXStream.cc \
240 ${name}/pdf2swf/xpdf/Outline.cc \
241 ${name}/pdf2swf/xpdf/PDFDocEncoding.cc \
242 ${name}/pdf2swf/xpdf/FoFiBase.h \
243 ${name}/pdf2swf/xpdf/FoFiEncodings.h \
244 ${name}/pdf2swf/xpdf/FoFiTrueType.h \
245 ${name}/pdf2swf/xpdf/FoFiType1.h \
246 ${name}/pdf2swf/xpdf/FoFiType1C.h \
247 ${name}/pdf2swf/xpdf/GMutex.h \
248 ${name}/pdf2swf/xpdf/JArithmeticDecoder.h \
249 ${name}/pdf2swf/xpdf/JBIG2Stream.h \
250 ${name}/pdf2swf/xpdf/JPXStream.h \
251 ${name}/pdf2swf/xpdf/Outline.h \
252 ${name}/pdf2swf/xpdf/PDFDocEncoding.h \
253 ${name}/configure.in \
254 ${name}/config.guess \
255 ${name}/config.sub \
256 ${name}/install-sh \
257 ${name}/mkinstalldirs \
258 ${name}/missing \
259 ${name}/ltmain.sh \
260 ${name}/configure \
261 ${name}/config.h.in \
262 ${name}/INSTALL \
263 ${name}/COPYING \
264 ${name}/AUTHORS \
265 ${name}/ChangeLog \
266 ${name}/FAQ \
267 ${name}/TODO \
268 ${name}/pdf2swf/fonts/n021003l.pfb \
269 ${name}/pdf2swf/fonts/n021023l.pfb \
270 ${name}/pdf2swf/fonts/n021004l.pfb \
271 ${name}/pdf2swf/fonts/n021024l.pfb \
272 ${name}/pdf2swf/fonts/n019003l.pfb \
273 ${name}/pdf2swf/fonts/n019023l.pfb \
274 ${name}/pdf2swf/fonts/n019004l.pfb \
275 ${name}/pdf2swf/fonts/n019024l.pfb \
276 ${name}/pdf2swf/fonts/n022003l.pfb \
277 ${name}/pdf2swf/fonts/n022023l.pfb \
278 ${name}/pdf2swf/fonts/n022004l.pfb \
279 ${name}/pdf2swf/fonts/n022024l.pfb \
280 ${name}/pdf2swf/fonts/s050000l.pfb \
281 ${name}/pdf2swf/fonts/d050000l.pfb \
282 ${name}/pdf2swf/fonts/n021003l.afm \
283 ${name}/pdf2swf/fonts/n021023l.afm \
284 ${name}/pdf2swf/fonts/n021004l.afm \
285 ${name}/pdf2swf/fonts/n021024l.afm \
286 ${name}/pdf2swf/fonts/n019003l.afm \
287 ${name}/pdf2swf/fonts/n019023l.afm \
288 ${name}/pdf2swf/fonts/n019004l.afm \
289 ${name}/pdf2swf/fonts/n019024l.afm \
290 ${name}/pdf2swf/fonts/n022003l.afm \
291 ${name}/pdf2swf/fonts/n022023l.afm \
292 ${name}/pdf2swf/fonts/n022004l.afm \
293 ${name}/pdf2swf/fonts/n022024l.afm \
294 ${name}/pdf2swf/fonts/s050000l.afm \
295 ${name}/pdf2swf/fonts/d050000l.afm \
296 ${name}/swfs/swft_loader.swf \
297 ${name}/swfs/tessel_loader.swf \
298 ${name}/m4/byteorder.m4 \
299 ${name}/m4/backticks.m4 \
300 ${name}/m4/Makefile \
301 ${name}/m4/avi2swf.m4 \
302 ${name}/lib/art/art_affine.h \
303 ${name}/lib/art/art_alphagamma.h \
304 ${name}/lib/art/art_bpath.h \
305 ${name}/lib/art/art_filterlevel.h \
306 ${name}/lib/art/art_gray_svp.h \
307 ${name}/lib/art/art_misc.h \
308 ${name}/lib/art/art_pathcode.h \
309 ${name}/lib/art/art_pixbuf.h \
310 ${name}/lib/art/art_point.h \
311 ${name}/lib/art/art_rect.h \
312 ${name}/lib/art/art_rect_svp.h \
313 ${name}/lib/art/art_rect_uta.h \
314 ${name}/lib/art/art_render.h \
315 ${name}/lib/art/art_render_gradient.h \
316 ${name}/lib/art/art_render_mask.h \
317 ${name}/lib/art/art_render_svp.h \
318 ${name}/lib/art/art_rgb.h \
319 ${name}/lib/art/art_rgb_a_affine.h \
320 ${name}/lib/art/art_rgb_affine.h \
321 ${name}/lib/art/art_rgb_affine_private.h \
322 ${name}/lib/art/art_rgb_bitmap_affine.h \
323 ${name}/lib/art/art_rgb_pixbuf_affine.h \
324 ${name}/lib/art/art_rgb_rgba_affine.h \
325 ${name}/lib/art/art_rgb_svp.h \
326 ${name}/lib/art/art_rgba.h \
327 ${name}/lib/art/art_svp.h \
328 ${name}/lib/art/art_svp_intersect.h \
329 ${name}/lib/art/art_svp_ops.h \
330 ${name}/lib/art/art_svp_point.h \
331 ${name}/lib/art/art_svp_render_aa.h \
332 ${name}/lib/art/art_svp_vpath.h \
333 ${name}/lib/art/art_svp_vpath_stroke.h \
334 ${name}/lib/art/art_svp_wind.h \
335 ${name}/lib/art/art_uta.h \
336 ${name}/lib/art/art_uta_ops.h \
337 ${name}/lib/art/art_uta_rect.h \
338 ${name}/lib/art/art_uta_svp.h \
339 ${name}/lib/art/art_uta_vpath.h \
340 ${name}/lib/art/art_vpath.h \
341 ${name}/lib/art/art_vpath_bpath.h \
342 ${name}/lib/art/art_vpath_dash.h \
343 ${name}/lib/art/art_vpath_svp.h \
344 ${name}/lib/art/libart.h \
345 ${name}/lib/art/art_affine.c \
346 ${name}/lib/art/art_alphagamma.c \
347 ${name}/lib/art/art_bpath.c \
348 ${name}/lib/art/art_gray_svp.c \
349 ${name}/lib/art/art_misc.c \
350 ${name}/lib/art/art_pixbuf.c \
351 ${name}/lib/art/art_rect.c \
352 ${name}/lib/art/art_rect_svp.c \
353 ${name}/lib/art/art_rect_uta.c \
354 ${name}/lib/art/art_render.c \
355 ${name}/lib/art/art_render_gradient.c \
356 ${name}/lib/art/art_render_mask.c \
357 ${name}/lib/art/art_render_svp.c \
358 ${name}/lib/art/art_rgb.c \
359 ${name}/lib/art/art_rgb_affine.c \
360 ${name}/lib/art/art_rgb_a_affine.c \
361 ${name}/lib/art/art_rgb_affine_private.c \
362 ${name}/lib/art/art_rgb_bitmap_affine.c \
363 ${name}/lib/art/art_rgb_pixbuf_affine.c \
364 ${name}/lib/art/art_rgb_rgba_affine.c \
365 ${name}/lib/art/art_rgb_svp.c \
366 ${name}/lib/art/art_rgba.c \
367 ${name}/lib/art/art_svp.c \
368 ${name}/lib/art/art_svp_intersect.c \
369 ${name}/lib/art/art_svp_ops.c \
370 ${name}/lib/art/art_svp_point.c \
371 ${name}/lib/art/art_svp_render_aa.c \
372 ${name}/lib/art/art_svp_vpath.c \
373 ${name}/lib/art/art_svp_vpath_stroke.c \
374 ${name}/lib/art/art_svp_wind.c \
375 ${name}/lib/art/art_uta.c \
376 ${name}/lib/art/art_uta_ops.c \
377 ${name}/lib/art/art_uta_rect.c \
378 ${name}/lib/art/art_uta_svp.c \
379 ${name}/lib/art/art_uta_vpath.c \
380 ${name}/lib/art/art_vpath.c \
381 ${name}/lib/art/art_vpath_bpath.c \
382 ${name}/lib/art/art_vpath_dash.c \
383 ${name}/lib/art/art_vpath_svp.c
384
385 gzip -9 ${name}.tar
386 rm -f ${name}
387
388
389
390 #${name}/lib/lame/fft.c \
391 #${name}/lib/lame/util.h \
392 #${name}/lib/lame/tables.h \
393 #${name}/lib/lame/lame.c \
394 #${name}/lib/lame/quantize.c \
395 #${name}/lib/lame/encoder.c \
396 #${name}/lib/lame/lameerror.h \
397 #${name}/lib/lame/quantize_pvt.h \
398 #${name}/lib/lame/bitstream.c \
399 #${name}/lib/lame/VbrTag.c \
400 #${name}/lib/lame/util.c \
401 #${name}/lib/lame/version.h \
402 #${name}/lib/lame/newmdct.h \
403 #${name}/lib/lame/version.c \
404 #${name}/lib/lame/id3tag.c \
405 #${name}/lib/lame/encoder.h \
406 #${name}/lib/lame/reservoir.c \
407 #${name}/lib/lame/fft.h \
408 #${name}/lib/lame/bitstream.h \
409 #${name}/lib/lame/newmdct.c \
410 #${name}/lib/lame/id3tag.h \
411 #${name}/lib/lame/config_static.h \
412 #${name}/lib/lame/tables.c \
413 #${name}/lib/lame/takehiro.c \
414 #${name}/lib/lame/machine.h \
415 #${name}/lib/lame/reservoir.h \
416 #${name}/lib/lame/set_get.c \
417 #${name}/lib/lame/vbrquantize.h \
418 #${name}/lib/lame/lame.h \
419 #${name}/lib/lame/tools.h \
420 #${name}/lib/lame/psymodel.c \
421 #${name}/lib/lame/l3side.h \
422 #${name}/lib/lame/vbrquantize.c \
423 #${name}/lib/lame/VbrTag.h \
424 #${name}/lib/lame/psymodel.h \
425 #${name}/lib/lame/quantize_pvt.c \
426 #${name}/lib/lame/lame_global_flags.h \
427 #${name}/lib/lame/quantize.h \
428 #${name}/lib/lame/lame-analysis.h \
429 #${name}/lib/lame/Makefile.in \
430
431 #${name}/pdf2swf/ttf2pt1/Makefile.in \
432 #${name}/pdf2swf/ttf2pt1/COPYRIGHT \
433 #${name}/pdf2swf/ttf2pt1/byteorder.h \
434 #${name}/pdf2swf/ttf2pt1/ft.c \
435 #${name}/pdf2swf/ttf2pt1/bdf.c \
436 #${name}/pdf2swf/ttf2pt1/bitmap.c \
437 #${name}/pdf2swf/ttf2pt1/global.h \
438 #${name}/pdf2swf/ttf2pt1/pt1.c \
439 #${name}/pdf2swf/ttf2pt1/pt1.h \
440 #${name}/pdf2swf/ttf2pt1/runt1asm.c \
441 #${name}/pdf2swf/ttf2pt1/t1asm.c \
442 #${name}/pdf2swf/ttf2pt1/ttf.c \
443 #${name}/pdf2swf/ttf2pt1/ttf.h \
444 #${name}/pdf2swf/ttf2pt1/ttf2pt1.c \
445 #${name}/pdf2swf/ttf2pt1/ttf2pt1.h \
446 #${name}/pdf2swf/ttf2pt1/version.h \
447 #${name}/pdf2swf/ttf2pt1/win_missing.h \
448
449