From 7dd14b2780b87be58c7afbd03df8d1f7cc3e9575 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 16 Feb 2013 00:04:53 +0000 Subject: GIT-VERSION-GEN: rewrite to manage RAINBOWS_VERSION const This DRYs up versioning and makes packages easier to distribute. --- GNUmakefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index cd087db..5fb780c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -28,14 +28,16 @@ clean: man html: $(MAKE) -C Documentation install-$@ -pkg_extra += $(man1_paths) +pkg_extra += $(man1_paths) lib/rainbows/version.rb doc:: cat Documentation/comparison.css >> doc/rdoc.css $(RM) $(man1_rdoc) +lib/rainbows/version.rb: GIT-VERSION-FILE + all:: test -test: +test: lib/rainbows/version.rb $(MAKE) -C t .PHONY: man html -- cgit v1.2.3-24-ge0c7