Develop and Download Open Source Software

Browse CVS Repository

Contents of /h14m/hns-bbs/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Dec 2 08:52:02 2001 UTC (22 years, 4 months ago) by bonaim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
added -f to rm

1
2 TMPDIR = /tmp/hnsbbs-tmp
3 VERSION := $(shell grep "^HnsBBSVersion " hnsbbs/hnsbbs.rb | sed -e "s/^HnsBBSVersion = '\\([^']*\\)'/\\1/g")
4 SOURCEROOT = $(TMPDIR)/hnsbbs-$(VERSION)
5
6 dist:
7 mkdir -p $(SOURCEROOT)
8 cp -pr . $(SOURCEROOT)
9 find $(SOURCEROOT) -name CVS | xargs rm -rf
10 find $(SOURCEROOT) -name "*~" -exec rm -f {} \;
11 rm -f $(SOURCEROOT)/Makefile
12 rm -f $(SOURCEROOT)/hnsbbs-*.tar.gz
13 tar zcf hnsbbs-$(VERSION).tar.gz -C $(TMPDIR) hnsbbs-$(VERSION)
14 rm -rf $(TMPDIR)

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26