X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=2dafb41069bdd2611034a58d1b2df928bf3fe83b;hb=d4292c6e27aaa6b0a80621e845b44449522a8695;hp=e8e92e42e9c607a158046d323699c85d408d1f9c;hpb=d4a2d37228bef49bc08e315a5739c5753544706c;p=rfk-inform.git diff --git a/Makefile b/Makefile index e8e92e4..2dafb41 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = r7 +VERSION = r8 BINNAME = kitten EXTENSION = .z5 @@ -15,18 +15,10 @@ nki: $(PERL) nki2inf.pl *.nki > nki.inf dist: distclean - mkdir $(DISTDIR) - @for file in `ls`; do \ - if test $$file != $(DISTDIR); then \ - cp -rp $$file $(DISTDIR)/$$file; \ - fi; \ - done - tar chof $(DISTDIR).tar $(DISTDIR) - gzip -f --best $(DISTDIR).tar - rm -rf $(DISTDIR) + git archive --format=tgz --prefix $(DISTDIR)/ HEAD -o $(DISTDIR).tar.gz @echo @echo "$(DISTDIR).tar.gz created" - @echo + @echo clean: rm -f *core *sav *$(EXTENSION) nki.inf