added VERSION target to Makefile, adjusted MINOR and added .PHONY target

This commit is contained in:
crich 2007-02-13 12:12:21 +00:00
parent 4faccdf779
commit 1bd7f2474b
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
MAJOR=1
MINOR=0
SUBMINOR=3
MINOR=1
SUBMINOR=0
#
# Set this to your local copy of mISDN
@ -110,6 +110,9 @@ test_misdn_includes:
@if ! echo "#include <linux/mISDNif.h>" | gcc -I$(MISDNINCLUDEDIR) -C -E - >/dev/null ; then echo -e "\n\nYou either don't seem to have installed mISDN properly\nor you haven't set the MISDNDIR variable in this very Makefile.\n\nPlease either install mISDN or set the MISDNDIR properly\n"; exit 1; fi
VERSION:
echo $(MAJOR)_$(MINOR)_$(SUBMINOR) > VERSION
snapshot: clean
DIR=mISDNuser-$$(date +"20%y_%m_%d") ; \
echo $$(date +"20%y_%m_%d" | sed -e "s/\//_/g") > VERSION ; \
@ -126,3 +129,4 @@ release: clean
cd /tmp/; \
tar czf $$DIR.tar.gz $$DIR
.PHONY: VERSION clean