From 28d41783bb7ca4b69135d464eb5ae05ac2ff5f6e Mon Sep 17 00:00:00 2001 From: David Griffith Date: Fri, 12 Apr 2013 16:23:24 -0700 Subject: [PATCH] Missed some stuff --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 + -- 2.31.1