Migration to new build system.

* sen-nl moved and checked
This commit is contained in:
Mateusz Hromada 2009-10-17 14:55:30 +02:00
parent 57728c1d40
commit 743cc4f1c9
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +0,0 @@
#!/bin/bash
sed -r '1 s/^(([0-9]+)[ \t][0-9]+[ \t].*)$/\2 00 BOS \*\n\1/;t;$! s/(([0-9]+)[ \t][0-9]+[ \t][[:alpha:]]+[ \t]+[[:print:]]*\\n.*)$/\2 00 EOS *\n\2 00 BOS *\n\1/; $ s/^(([0-9]+) .*)$/\1\n\2 00 EOS */'

View File

@ -96,7 +96,7 @@ vpath %.sed ./src
vpath %.sh ./src vpath %.sh ./src
vpath %.texinfo ./doc vpath %.texinfo ./doc
PROGRAMS_SCRIPT = gph kot unfla grp mar ser kon rm12 uam.tag2re PROGRAMS_SCRIPT = gph kot unfla grp mar ser kon rm12 uam.tag2re sen-nl
PROGRAMS_EXEC = tok sen fla rs12 PROGRAMS_EXEC = tok sen fla rs12
PROGRAMS = \$(PROGRAMS_SCRIPT) \$(PROGRAMS_EXEC) PROGRAMS = \$(PROGRAMS_SCRIPT) \$(PROGRAMS_EXEC)
DOC_FILES = utt.info utt.dvi utt.html utt.pdf utt.ps DOC_FILES = utt.info utt.dvi utt.html utt.pdf utt.ps
@ -149,6 +149,9 @@ kon: \$(KON_PERL_FILES)
RM12_SED_FILES = rm12.sed RM12_SED_FILES = rm12.sed
rm12: \$(RM12_SED_FILES) rm12: \$(RM12_SED_FILES)
SENNL_SED_FILES = sen-nl.sed
sen-nl: \$(SENNL_SED_FILES)
RS12_OBJ_FILES = rs12.o RS12_OBJ_FILES = rs12.o
rs12: \$(RS12_OBJ_FILES) rs12: \$(RS12_OBJ_FILES)
rs12.o: rs12.c rs12.o: rs12.c

6
src/sen-nl.sed Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sed -rf
1 s/^(([0-9]+)[ \t][0-9]+[ \t].*)$/\2 00 BOS \*\n\1/
t
$! s/(([0-9]+)[ \t][0-9]+[ \t][[:alpha:]]+[ \t]+[[:print:]]*\\n.*)$/\2 00 EOS *\n\2 00 BOS *\n\1/
$ s/^(([0-9]+) .*)$/\1\n\2 00 EOS */'