aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorhpa <hpa@trantor.hos.anvin.org>2008-12-22 17:40:58 -0800
committerhpa <hpa@trantor.hos.anvin.org>2008-12-22 17:40:58 -0800
commitefe48310046f5230e3c83677ad56c393052b43c4 (patch)
treeea749490f6f3dfd6b30d793a179a24d6791da497 /Makefile
parentc9bc921f21c40a1bbda2b2544f48cf9d3ceb74e3 (diff)
downloadabc80-efe48310046f5230e3c83677ad56c393052b43c4.tar.gz
abc80-efe48310046f5230e3c83677ad56c393052b43c4.tar.xz
abc80-efe48310046f5230e3c83677ad56c393052b43c4.zip
"make dist"abc80-de1-1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 79e9b6b..5db76a1 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,18 @@ all:
clean:
$(MAKE) -C tools clean
$(MAKE) -C data clean
+
+dist: all
+ $(MAKE) -C tools dist
+ $(MAKE) -C data dist
+ find . -name '*~' -print0 | xargs -0rt rm -f
+ rm -f *.rpt *.cdf *.csf *.done *.dpf *.hexout *.jam
+ rm -f *.jdi *.smsg
+ rm -f abc80.zip
+ zip -9r abc80.zip .[^.]* * \
+ -x abc80.zip -x 'db/*' -x 'incremental_db/*' -x '.git/*' \
+ -x '*.stp' \
+ -x 'mega/*_bb.v' -x 'mega/*.bsf' -x 'mega/*.cmp' -x 'mega/*.inc' \
+ -x 'mega/*_inst.v' -x 'mega/*.html' -x 'mega/*.jpg' \
+ -x 'mega/*.qip' -x 'mega/*.ppf'
+