diff --git a/app/src/rm12/Makefile b/app/src/rm12/Makefile deleted file mode 100644 index bbde7a5..0000000 --- a/app/src/rm12/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -main: - -copy: -ifdef UTT_BIN_DIR - cp rm12 ${UTT_BIN_DIR} -endif - -clean: diff --git a/auto/output/Makefile b/auto/output/Makefile index 525ff0b..4ecf585 100755 --- a/auto/output/Makefile +++ b/auto/output/Makefile @@ -45,7 +45,7 @@ ALL_FFLAGS = -t \$(FFLAGS) 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_FLEX_FILES = tok.l @@ -89,6 +89,9 @@ ser: \$(SER_PERL_FILES) KON_PERL_FILES = kon.pl kon: \$(KON_PERL_FILES) +RM12_SED_FILES = rm12.sed +rm12: \$(RM12_SED_FILES) + CONFIG_FILES = src/config.h Makefile .SUFFIXES: @@ -159,5 +162,9 @@ uninstall: \$(CP) \$< \$@ \$(CHMOD) a+x \$@ +%: %.sed + \$(CP) \$< \$@ + \$(CHMOD) a+x \$@ + EOF diff --git a/app/src/rm12/rm12 b/src/rm12.sed old mode 100755 new mode 100644 similarity index 51% rename from app/src/rm12/rm12 rename to src/rm12.sed index d039ee2..b1b4fec --- a/app/src/rm12/rm12 +++ b/src/rm12.sed @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sed -rf #package: UAM Text Tools #component: rm12 @@ -6,4 +6,5 @@ #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]//