From: David Griffith Date: Fri, 12 Apr 2013 23:23:24 +0000 (-0700) Subject: Missed some stuff X-Git-Tag: r8~9 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=28d41783bb7ca4b69135d464eb5ae05ac2ff5f6e;p=rfk-inform.git Missed some stuff --- diff --git a/Makefile b/Makefile index 6364a58..e8e92e4 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,24 @@ $(BINNAME): nki 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) + @echo + @echo "$(DISTDIR).tar.gz created" + @echo + clean: rm -f *core *sav *$(EXTENSION) nki.inf distclean: clean rm -rf $(DISTDIR) rm -f $(DISTDIR).tar $(DISTDIR).tar.gz +