Migration to new build system.

* rm12 moved and checked
This commit is contained in:
Mateusz Hromada 2009-06-09 20:37:59 +02:00
parent 8e1730ce81
commit 4518a0b7b6
3 changed files with 11 additions and 11 deletions

View File

@ -1,8 +0,0 @@
main:
copy:
ifdef UTT_BIN_DIR
cp rm12 ${UTT_BIN_DIR}
endif
clean:

View File

@ -45,7 +45,7 @@ ALL_FFLAGS = -t \$(FFLAGS)
VPATH = ./src VPATH = ./src
PROGRAMS = tok sen fla gph kot unfla grp mar ser kon PROGRAMS = tok sen fla gph kot unfla grp mar ser kon rm12
TOK_OBJ_FILES = tok.o tok_cmdline.o TOK_OBJ_FILES = tok.o tok_cmdline.o
TOK_FLEX_FILES = tok.l TOK_FLEX_FILES = tok.l
@ -89,6 +89,9 @@ ser: \$(SER_PERL_FILES)
KON_PERL_FILES = kon.pl KON_PERL_FILES = kon.pl
kon: \$(KON_PERL_FILES) kon: \$(KON_PERL_FILES)
RM12_SED_FILES = rm12.sed
rm12: \$(RM12_SED_FILES)
CONFIG_FILES = src/config.h Makefile CONFIG_FILES = src/config.h Makefile
.SUFFIXES: .SUFFIXES:
@ -159,5 +162,9 @@ uninstall:
\$(CP) \$< \$@ \$(CP) \$< \$@
\$(CHMOD) a+x \$@ \$(CHMOD) a+x \$@
%: %.sed
\$(CP) \$< \$@
\$(CHMOD) a+x \$@
EOF EOF

5
app/src/rm12/rm12 → src/rm12.sed Executable file → Normal file
View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sed -rf
#package: UAM Text Tools #package: UAM Text Tools
#component: rm12 #component: rm12
@ -6,4 +6,5 @@
#author: Tomasz Obrebski #author: Tomasz Obrebski
sed -r '/[0-9]+[ \t]+[0-9]+[ \t]+BOS/! s/[0-9]+[ \t]+[0-9]+[ \t]//' /[0-9]+[ \t]+[0-9]+[ \t]+BOS/!
s/[0-9]+[ \t]+[0-9]+[ \t]//