From 6669225f4dff0c5f13854dd5501424fff08cffb2 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 27 Apr 2009 16:49:40 +0200 Subject: [PATCH] add make package --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 32cf085..3104e0b 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,14 @@ tags: http_parser.rl http_parser.h test.c ctags $^ clean: - rm -f *.o http_parser.c test + rm -f *.o http_parser.c test http_parser.tar -.PHONY: clean +package: http_parser.c + @mkdir -p /tmp/http_parser && \ + cp README.md Makefile http_parser.c http_parser.rl \ + http_parser.h test.c /tmp/http_parser && \ + cd /tmp && \ + tar -cf http_parser.tar http_parser/ + @echo /tmp/http_parser.tar + +.PHONY: clean package