added VERSION target to Makefile, adjusted MINOR and added .PHONY target
This commit is contained in:
parent
4faccdf779
commit
1bd7f2474b
8
Makefile
8
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue