fixed armelf sanitization
[deliverable/binutils-gdb.git] / bfd / .Sanitize
CommitLineData
7d2ac701 1# .Sanitize for devo/bfd
08942d11 2
a92c5906 3# Each directory to survive its way into a release will need a file
08942d11
RP
4# like this one called "./.Sanitize". All keyword lines must exist,
5# and must exist in the order specified by this file. Each directory
6# in the tree will be processed, top down, in the following order.
7
8# Hash started lines like this one are comments and will be deleted
9# before anything else is done. Blank lines will also be squashed
10# out.
11
12# The lines between the "Do-first:" line and the "Things-to-keep:"
13# line are executed as a /bin/sh shell script before anything else is
8b0f1c20 14# done in this directory.
08942d11
RP
15
16Do-first:
17
2a0a42d3
FF
18tic80_files="cpu-tic80.c coff-tic80.c"
19
20if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
21 keep_these_too="${tic80_files} ${keep_these_too}"
22else
23 lose_these_too="${tic80_files} ${lose_these_too}"
24fi
25
28574bf9
NC
26armelf_files="elf32-arm.c"
27if ( echo $* | grep keep\-armelf > /dev/null ) ; then
28 keep_these_too="${armelf_files} ${keep_these_too}"
29else
30 lose_these_too="${armelf_files} ${lose_these_too}"
31fi
32
33
08942d11 34# All files listed between the "Things-to-keep:" line and the
7d2ac701 35# "Do-last:" line will be kept. All other files will be removed.
08942d11
RP
36# Directories listed in this section will have their own Sanitize
37# called. Directories not listed will be removed in their entirety
38# with rm -rf.
39
40Things-to-keep:
87756e15 41
08942d11
RP
42COPYING
43ChangeLog
06fdc311
ILT
44ChangeLog-9193
45ChangeLog-9495
46ChangeLog-9697
c0734708 47Makefile.am
08942d11 48Makefile.in
c3e964b9 49PORTING
b8760145 50README
08942d11 51TODO
b7577823 52acconfig.h
c0734708 53acinclude.m4
f515fb2f 54aclocal.m4
60ac749c 55aix386-core.c
c3e964b9 56aout-adobe.c
ff15324f 57aout-arm.c
c3e964b9 58aout-encap.c
56fbe889 59aout-ns32k.c
0cd98b92 60aout-sparcle.c
c3e964b9 61aout-target.h
e8f2efef 62aout-tic30.c
77d11284 63aout0.c
08942d11
RP
64aout32.c
65aout64.c
66aoutf1.h
08942d11
RP
67aoutx.h
68archive.c
69archures.c
901c5bfd 70bfd-in.h
b9653d81 71bfd-in2.h
08942d11 72bfd.c
c768bd3f 73binary.c
08942d11
RP
74bout.c
75cache.c
e3b5bfa8
SS
76cf-i386lynx.c
77cf-m68klynx.c
78cf-sparclynx.c
5d70e4d1 79cisco-core.c
156e3852 80coff-a29k.c
c3e964b9 81coff-alpha.c
97eb2f0c 82coff-apollo.c
d19df9b5
ILT
83coff-arm.c
84coff-aux.c
c06e55d9 85coff-go32.c
71e34032 86coff-h8300.c
ff975a2c 87coff-h8500.c
156e3852 88coff-i386.c
cf587de8 89coff-i860.c
156e3852 90coff-i960.c
c3e964b9 91coff-m68k.c
156e3852
JG
92coff-m88k.c
93coff-mips.c
63c67f3c 94coff-pmac.c
8d2a09b0 95coff-ppc.c
156e3852 96coff-rs6000.c
9faacb92 97coff-sh.c
e3b5bfa8 98coff-sparc.c
2af5a7e4 99coff-stgo32.c
ac388f2a 100coff-svm68k.c
e8f2efef 101coff-tic30.c
df61743d 102coff-u68k.c
d468a149 103coff-w65.c
7d2ac701 104coff-we32k.c
d41ab714 105coff-z8k.c
08942d11 106coffcode.h
075caafd 107coffgen.c
69645d10 108cofflink.c
075caafd 109coffswap.h
14616002 110config.bfd
936b870c 111config.in
7c1a9ec3 112configure
13b351cc 113configure.bat
0f854557 114configure.com
5a5fa368 115configure.host
c3e964b9 116configure.in
d9e771e3 117corefile.c
c3e964b9
FF
118cpu-a29k.c
119cpu-alpha.c
76af94b9 120cpu-arc.c
6c3bc2b8 121cpu-arm.c
a3c5b9a4 122cpu-d10v.c
6767a3ab 123cpu-d30v.c
c3e964b9
FF
124cpu-h8300.c
125cpu-h8500.c
126cpu-hppa.c
127cpu-i386.c
cf587de8 128cpu-i860.c
c3e964b9 129cpu-i960.c
7d2ac701
ILT
130cpu-m10200.c
131cpu-m10300.c
37bdd624 132cpu-m32r.c
c3e964b9
FF
133cpu-m68k.c
134cpu-m88k.c
135cpu-mips.c
e26e4fbc 136cpu-ns32k.c
384c1791 137cpu-powerpc.c
c3e964b9
FF
138cpu-rs6000.c
139cpu-sh.c
140cpu-sparc.c
e8f2efef 141cpu-tic30.c
15d82b26 142cpu-v850.c
c3e964b9 143cpu-vax.c
d468a149 144cpu-w65.c
7d2ac701 145cpu-we32k.c
c3e964b9 146cpu-z8k.c
08942d11 147demo64.c
97eb2f0c 148dep-in.sed
c3e964b9 149doc
6ac2511d 150dwarf2.c
dae31cf5 151ecoff.c
71efdf83 152ecofflink.c
dae31cf5 153ecoffswap.h
6ab826bd 154elf-bfd.h
7d2ac701
ILT
155elf-m10200.c
156elf-m10300.c
cef91d75 157elf.c
76af94b9 158elf32-arc.c
a3c5b9a4 159elf32-d10v.c
6767a3ab 160elf32-d30v.c
d39d83c1 161elf32-gen.c
c268b400
KR
162elf32-hppa.c
163elf32-hppa.h
4743848f
KR
164elf32-i386.c
165elf32-i860.c
37bdd624 166elf32-m32r.c
4743848f 167elf32-m68k.c
2c4f2c72
JK
168elf32-m88k.c
169elf32-mips.c
45ccfd58 170elf32-ppc.c
c86158e5 171elf32-sh.c
8d936d1f 172elf32-sparc.c
15d82b26 173elf32-v850.c
4743848f 174elf32.c
e8f46717 175elf64-alpha.c
d39d83c1 176elf64-gen.c
d1bf45aa 177elf64-mips.c
66599384 178elf64-sparc.c
4bf86ecb 179elf64.c
ef7e172e 180elfcode.h
ede4eed4
KR
181elfcore.h
182elflink.c
183elflink.h
7d2ac701 184elfxx-target.h
6f715d66 185format.c
767f22d5 186freebsd.h
608de555 187gen-aout.c
da6b2d99 188genlink.h
179ce6e1 189go32stub.h
da6b2d99 190hash.c
08942d11 191host-aout.c
90c7c720 192hosts
c3e964b9 193hp300bsd.c
c268b400 194hp300hpux.c
cef91d75 195hppa_stubs.h
8a71bf96 196hppabsd-core.c
3f933620 197hpux-core.c
b7de6963 198i386aout.c
256b39e0 199i386bsd.c
bdf1b511 200i386dynix.c
767f22d5 201i386freebsd.c
afff60cd 202i386linux.c
aef0bd99 203i386lynx.c
890eafc0 204i386mach3.c
7c2c70f3 205i386msdos.c
7d2ac701 206i386netbsd.c
f8ffa548 207i386os9k.c
08942d11 208ieee.c
ffd15489 209ihex.c
c3e964b9 210init.c
7ce1a446 211irix-core.c
141c97ea 212libaout.h
901c5bfd 213libbfd-in.h
08942d11
RP
214libbfd.c
215libbfd.h
901c5bfd 216libcoff-in.h
08942d11 217libcoff.h
a3b3dbdd 218libecoff.h
76b731f9 219libhppa.h
08942d11 220libieee.h
c3e964b9 221libnlm.h
08942d11 222liboasys.h
da6b2d99 223linker.c
3151f12f 224lynx-core.c
e295a90d 225m68k4knetbsd.c
55626bf0 226m68klinux.c
eefe075d 227m68klynx.c
ec35a1c2 228m68knetbsd.c
56fbe889 229m88kmach3.c
346a6d59 230makefile.dos
c3d8e071 231makefile.vms
044c1ba9 232mipsbsd.c
241d8883 233mpw-config.in
63c67f3c 234mpw-make.sed
fe16107d 235netbsd-core.c
a3f7a777 236netbsd.h
7d2ac701 237newsos3.c
d1f83f44 238nlm-target.h
c3e964b9 239nlm.c
1bbabdad 240nlm32-alpha.c
8fa7a236 241nlm32-i386.c
7ce8b9d1 242nlm32-ppc.c
38f422db 243nlm32-sparc.c
c3e964b9 244nlm32.c
c3e964b9
FF
245nlm64.c
246nlmcode.h
38f422db 247nlmswap.h
c877bdf1 248ns32k.h
a3f7a777 249ns32knetbsd.c
08942d11
RP
250oasys.c
251opncls.c
4346ee0f 252osf-core.c
56fbe889 253pc532-mach.c
a3444c49 254pe-arm.c
b297038d 255pe-i386.c
8d2a09b0 256pe-ppc.c
4e98461f 257pei-arm.c
b297038d 258pei-i386.c
8d2a09b0 259pei-ppc.c
4e98461f 260peicode.h
7d2ac701 261po
0d1fcbbb 262ppcboot.c
c236d8b3 263ptrace-core.c
6f715d66 264reloc.c
075caafd 265reloc16.c
6c3bc2b8 266riscix.c
cf15d9e9 267rs6000-core.c
6f715d66 268section.c
66eca5ee
JK
269som.c
270som.h
5f792743 271sparclinux.c
e3b5bfa8 272sparclynx.c
a3f7a777 273sparcnetbsd.c
08942d11 274srec.c
7de245d3 275stab-syms.c
7d2ac701 276stabs.c
c0734708 277stamp-h.in
08942d11 278sunos.c
6f715d66 279syms.c
b7577823 280sysdep.h
08942d11 281targets.c
dee99794 282targmatch.sed
a14b2941 283tekhex.c
08942d11 284trad-core.c
eee4e8ca 285vaxnetbsd.c
c3c112fc 286versados.c
0dc4c667
ILT
287vms.c
288vms.h
289vms-gsd.c
290vms-hdr.c
291vms-misc.c
292vms-tir.c
dd984644 293xcofflink.c
08942d11 294
87756e15
RP
295Things-to-lose:
296
775d4a40 297
7d2ac701
ILT
298
299# The lines between the "Do-last:" line and the end of the file
300# are executed as a /bin/sh shell script after everything else is
301# done.
302
08942d11
RP
303Do-last:
304
4db4e912
JL
305am33_files="ChangeLog archures.c bfd-in2.h cpu-m10300.c elf-m10300.c"
306if ( echo $* | grep keep\-am33 > /dev/null ) ; then
307 for i in $am33_files ; do
308 if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
309 if [ -n "${verbose}" ] ; then
310 echo Keeping am33 stuff in $i
311 fi
312 fi
313 done
314else
315 for i in $am33_files ; do
316 if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
317 if [ -n "${verbose}" ] ; then
318 echo Removing traces of \"am33\" from $i...
319 fi
320 cp $i new
321 sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/d' < $i > new
322 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
323 if [ -n "${verbose}" ] ; then
324 echo Caching $i in .Recover...
325 fi
326 mv $i .Recover
327 fi
328 mv new $i
329 fi
330 done
331fi
332
41cae8d4 333v850_files="ChangeLog ChangeLog-9697 Makefile.in Makefile.am archures.c reloc.c targets.c config.bfd configure.in configure bfd-in2.h elf.c libbfd.h elf32-v850.c cpu-v850.c"
def47b53
NC
334if ( echo $* | grep keep\-v850e > /dev/null ) ; then
335 for i in $v850_files ; do
336 if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then
337 if [ -n "${verbose}" ] ; then
338 echo Keeping v850e stuff in $i
339 fi
340 fi
341 done
342else
343 for i in $v850_files ; do
344 if test -f $i && (grep sanitize-v850e $i > /dev/null) ; then
345 if [ -n "${verbose}" ] ; then
346 echo Removing traces of \"v850e\" from $i...
347 fi
348 cp $i new
8988d935 349 sed '/start\-sanitize\-v850e/,/end\-sanitize\-v850e/d' < $i > new
def47b53
NC
350 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
351 if [ -n "${verbose}" ] ; then
352 echo Caching $i in .Recover...
353 fi
354 mv $i .Recover
355 fi
356 mv new $i
357 fi
358 done
359fi
8988d935 360
41cae8d4 361r5900_files="ChangeLog ChangeLog-9697 config.bfd archures.c bfd-in2.h cpu-mips.c elf32-mips.c libbfd.h reloc.c"
276c2d7d
GRK
362if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
363 for i in $r5900_files ; do
364 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
365 if [ -n "${verbose}" ] ; then
366 echo Keeping r5900 stuff in $i
367 fi
368 fi
369 done
370else
371 for i in $r5900_files ; do
372 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
373 if [ -n "${verbose}" ] ; then
374 echo Removing traces of \"r5900\" from $i...
375 fi
376 cp $i new
377 sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
378 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
379 if [ -n "${verbose}" ] ; then
380 echo Caching $i in .Recover...
381 fi
382 mv $i .Recover
383 fi
384 mv new $i
385 fi
386 done
387fi
388
29410c45
JL
389tx19_files="archures.c bfd-in2.h cpu-mips.c"
390if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
391 for i in $tx19_files ; do
392 if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
393 if [ -n "${verbose}" ] ; then
394 echo Keeping tx19 stuff in $i
395 fi
396 fi
397 done
398else
399 for i in $tx19_files ; do
400 if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
401 if [ -n "${verbose}" ] ; then
402 echo Removing traces of \"tx19\" from $i...
403 fi
404 cp $i new
405 sed '/start\-sanitize\-tx19/,/end-\sanitize\-tx19/d' < $i > new
406 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
407 if [ -n "${verbose}" ] ; then
408 echo Caching $i in .Recover...
409 fi
410 mv $i .Recover
411 fi
412 mv new $i
413 fi
414 done
415fi
416
e888ecaa 417tx49_files="archures.c bfd-in2.h cpu-mips.c elf32-mips.c"
29410c45
JL
418if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
419 for i in $tx49_files ; do
420 if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
421 if [ -n "${verbose}" ] ; then
422 echo Keeping tx49 stuff in $i
423 fi
424 fi
425 done
426else
427 for i in $tx49_files ; do
428 if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
429 if [ -n "${verbose}" ] ; then
430 echo Removing traces of \"tx49\" from $i...
431 fi
432 cp $i new
433 sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/d' < $i > new
434 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
435 if [ -n "${verbose}" ] ; then
436 echo Caching $i in .Recover...
437 fi
438 mv $i .Recover
439 fi
440 mv new $i
441 fi
442 done
443fi
444
41cae8d4 445tic80_files="ChangeLog ChangeLog-9697 Makefile.in Makefile.am archures.c bfd-in2.h config.bfd configure configure.in targets.c coffcode.h coffswap.h"
2a0a42d3
FF
446if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
447 for i in $tic80_files ; do
448 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
449 if [ -n "${verbose}" ] ; then
450 echo Keeping tic80 stuff in $i
451 fi
452 fi
453 done
454else
455 for i in $tic80_files ; do
456 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
457 if [ -n "${verbose}" ] ; then
458 echo Removing traces of \"tic80\" from $i...
459 fi
460 cp $i new
461 sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
462 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
05cedcf6
DE
463 if [ -n "${verbose}" ] ; then
464 echo Caching $i in .Recover...
465 fi
466 mv $i .Recover
467 fi
468 mv new $i
469 fi
470 done
471fi
472
41cae8d4 473vr5400_files="ChangeLog ChangeLog-9697 archures.c bfd-in2.h bfd-in.h cpu-mips.c elf32-mips.c"
c02ed6a8
AC
474if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
475 for i in $vr5400_files ; do
476 if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
477 if [ -n "${verbose}" ] ; then
478 echo Keeping vr5400 stuff in $i
479 fi
480 fi
481 done
482else
483 for i in $vr5400_files ; do
484 if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
485 if [ -n "${verbose}" ] ; then
486 echo Removing traces of \"vr5400\" from $i...
487 fi
488 cp $i new
489 sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/d' < $i > new
490 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
491 if [ -n "${verbose}" ] ; then
492 echo Caching $i in .Recover...
493 fi
494 mv $i .Recover
495 fi
496 mv new $i
497 fi
498 done
499fi
500
e888ecaa 501vr4320_files="ChangeLog archures.c bfd-in2.h cpu-mips.c elf32-mips.c"
ad4413e6
GRK
502if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
503 for i in $vr4320_files ; do
504 if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
505 if [ -n "${verbose}" ] ; then
506 echo Keeping vr4320 stuff in $i
507 fi
508 fi
509 done
510else
511 for i in $vr4320_files ; do
512 if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
513 if [ -n "${verbose}" ] ; then
514 echo Removing traces of \"vr4320\" from $i...
515 fi
516 cp $i new
517 sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/d' < $i > new
518 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
519 if [ -n "${verbose}" ] ; then
520 echo Caching $i in .Recover...
521 fi
522 mv $i .Recover
523 fi
524 mv new $i
525 fi
526 done
527fi
528
41cae8d4 529m32rx_files="ChangeLog ChangeLog-9697 archures.c bfd-in2.h elf32-m32r.c cpu-m32r.c"
a3240f68
NC
530if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
531 for i in $m32rx_files ; do
532 if test -r $i && (grep sanitize-m32rx $i > /dev/null) ; then
533 if [ -n "${verbose}" ] ; then
534 echo Keeping m32rx stuff in $i
535 fi
536 fi
537 done
538else
539 for i in $m32rx_files ; do
540 if test -f $i && (grep sanitize-m32rx $i > /dev/null) ; then
541 if [ -n "${verbose}" ] ; then
542 echo Removing traces of \"m32rx\" from $i...
543 fi
544 cp $i new
545 sed '/start\-sanitize\-m32rx/,/end\-sanitize\-m32rx/d' < $i > new
546 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
547 if [ -n "${verbose}" ] ; then
548 echo Caching $i in .Recover...
549 fi
550 mv $i .Recover
551 fi
552 mv new $i
553 fi
554 done
555fi
556
a25897a9 557sky_files="ChangeLog archures.c elf32-mips.c reloc.c cpu-mips.c config.bfd configure.in configure bfd-in2.h libbfd.h"
20b2c808
DE
558if ( echo $* | grep keep\-sky > /dev/null ) ; then
559 for i in $sky_files ; do
560 if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
561 if [ -n "${verbose}" ] ; then
562 echo Keeping sky stuff in $i
563 fi
564 fi
565 done
566else
567 for i in $sky_files ; do
568 if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
569 if [ -n "${verbose}" ] ; then
570 echo Removing traces of \"sky\" from $i...
571 fi
572 cp $i new
573 sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/d' < $i > new
574 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
575 if [ -n "${verbose}" ] ; then
576 echo Caching $i in .Recover...
577 fi
578 mv $i .Recover
579 fi
580 mv new $i
581 fi
582 done
583fi
584
c86d82ee
RH
585beos_files="ChangeLog config.bfd"
586if ( echo $* | grep keep\-beos > /dev/null ) ; then
587 for i in $beos_files ; do
588 if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then
589 if [ -n "${verbose}" ] ; then
590 echo Keeping beos stuff in $i
591 fi
592 fi
593 done
594else
595 for i in $beos_files ; do
596 if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then
597 if [ -n "${verbose}" ] ; then
598 echo Removing traces of \"beos\" from $i...
599 fi
600 cp $i new
601 sed '/start\-sanitize\-beos/,/end-\sanitize\-beos/d' < $i > new
602 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
603 if [ -n "${verbose}" ] ; then
604 echo Caching $i in .Recover...
605 fi
606 mv $i .Recover
607 fi
608 mv new $i
609 fi
610 done
611fi
612
1ec183ca 613armelf_files="ChangeLog Makefile.am Makefile.in config.bfd configure configure.in elf.c targets.c"
ee1e206f
CM
614if ( echo $* | grep keep\-armelf > /dev/null ) ; then
615 for i in $armelf_files ; do
616 if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then
617 if [ -n "${verbose}" ] ; then
618 echo Keeping armelf stuff in $i
619 fi
620 fi
621 done
622else
623 for i in $armelf_files ; do
624 if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then
625 if [ -n "${verbose}" ] ; then
626 echo Removing traces of \"armelf\" from $i...
627 fi
628 cp $i new
629 sed '/start\-sanitize\-armelf/,/end-\sanitize\-armelf/d' < $i > new
630 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
631 if [ -n "${verbose}" ] ; then
632 echo Caching $i in .Recover...
633 fi
634 mv $i .Recover
635 fi
636 mv new $i
637 fi
638 done
639fi
640
5c680afd
MT
641for i in * ; do
642 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
643 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
644 fi
645done
646
3d96e9b4
TT
647
648# This must come after all other sanitizations. Re-sanitize the .pot
649# file.
650if [ -n "${verbose}" ]; then
651 echo Re-computing files for gettext ...
652fi
653
654if [ -n "${safe}" -a ! -f po/.Recover/POTFILES.in ]; then
655 if [ -n "${verbose}" ]; then
656 echo Caching po/POTFILES.in in .Recover...
657 fi
658 mv po/POTFILES.in po/.Recover
659fi
660find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in
661
662if [ -n "${safe}" -a ! -f po/.Recover/bfd.pot ]; then
663 if [ -n "${verbose}" ]; then
664 echo Caching po/bfd.pot in .Recover...
665 fi
666 mv po/bfd.pot po/.Recover
667fi
d6f3da9b 668# If this fails, Sanitization must fail.
c2400a02 669xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/bfd.pot || exit 1
3d96e9b4 670
7d2ac701 671# eof
This page took 0.265609 seconds and 4 git commands to generate.