Navigation Menu

Skip to content

Commit

Permalink
versioning: incremental natural numbers.
Browse files Browse the repository at this point in the history
We'll use 1..2..3.. etc. as version numbers. `tag` and `dist` targets
help with packaging.
  • Loading branch information
ahkok committed Jul 7, 2012
1 parent e513809 commit bf2038d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
@@ -1,4 +1,6 @@

VERSION = 1

bin_PROGS = prog/lvu prog/lvis prog/lsh
sbin_PROGS = prog/lin prog/lrm prog/lunar prog/lget

Expand Down Expand Up @@ -75,3 +77,9 @@ install: .PHONY
# easy way out for the docs:
install -d $(DESTDIR)/usr/share/doc/lunar
cp -av doc $(DESTDIR)/usr/share/doc/lunar/

tag:
git tag v$(VERSION)

dist:
git archive --format=tar --prefix="lunar-$(VERSION)/" v$(VERSION) | bzip2 > lunar-$(VERSION).tar.bz2

0 comments on commit bf2038d

Please sign in to comment.