X-Git-Url: http://git.sourceforge.jp/view?p=nkf%2Fnkf.git;a=blobdiff_plain;f=Makefile;h=34c3f9fbe55a8e1be17693e2c74a3e8cc020de7a;hp=d8f0727b13f780b1a9ee524db58ec7da3cbd04a2;hb=b66eee9290f343df2fd500dae09c7e6396034539;hpb=c27fc2150f2ec5daceca7f1726083042d39b5ae3 diff --git a/Makefile b/Makefile index d8f0727..34c3f9f 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SHAR = shar # SHAR = shar -T PERL = perl RM = rm -rf -VERSION = 201 +VERSION = 204 nkf : nkf.c config.h utf8tbl.o $(CC) $(CFLAGS) -o nkf nkf.c utf8tbl.o @@ -38,3 +38,13 @@ shar: echo "cd nkf$(VERSION)" >>nkf$(VERSION).shar ( cd nkf$(VERSION) ; $(SHAR) `cat ../MANIFEST` ) >> nkf$(VERSION).shar -$(RM) nkf$(VERSION) + +tar: + -mkdir nkf$(VERSION) + -mkdir nkf$(VERSION)/NKF.mod + for file in `cat MANIFEST`; \ + do \ + nkf -j -m0 $$file > nkf$(VERSION)/$$file ; \ + done + tar cf nkf$(VERSION).tar nkf$(VERSION) + -$(RM) nkf$(VERSION)