mirror of https://github.com/ipxe/ipxe.git
Updated $(VERSION) for release. Change tarball generation.
Added 'install' and 'configure' targets for those who are used to other build setups.pull/1/head
parent
10570b0a7a
commit
c9593cd35b
|
@ -10,8 +10,8 @@ CLEANUP := $(BIN)/*.* # *.* to avoid catching the "CVS" directory
|
||||||
# Version number calculations
|
# Version number calculations
|
||||||
#
|
#
|
||||||
VERSION_MAJOR = 0
|
VERSION_MAJOR = 0
|
||||||
VERSION_MINOR = 5
|
VERSION_MINOR = 9
|
||||||
VERSION_PATCH = 1
|
VERSION_PATCH = 3
|
||||||
EXTRAVERSION =
|
EXTRAVERSION =
|
||||||
MM_VERSION = $(VERSION_MAJOR).$(VERSION_MINOR)
|
MM_VERSION = $(VERSION_MAJOR).$(VERSION_MINOR)
|
||||||
VERSION = $(MM_VERSION).$(VERSION_PATCH)$(EXTRAVERSION)
|
VERSION = $(MM_VERSION).$(VERSION_PATCH)$(EXTRAVERSION)
|
||||||
|
@ -22,6 +22,12 @@ IDENT = '$(@F) $(VERSION) (GPL) etherboot.org'
|
||||||
version :
|
version :
|
||||||
@$(ECHO) $(VERSION)
|
@$(ECHO) $(VERSION)
|
||||||
|
|
||||||
|
configure :
|
||||||
|
@$(ECHO) "No configuration needed."
|
||||||
|
|
||||||
|
install :
|
||||||
|
@$(ECHO) "No installation required. Generated images will be placed in the" $(BIN) "directory."
|
||||||
|
|
||||||
# Check for tools that can cause failed builds
|
# Check for tools that can cause failed builds
|
||||||
#
|
#
|
||||||
.toolcheck : Makefile Config
|
.toolcheck : Makefile Config
|
||||||
|
@ -582,17 +588,16 @@ veryclean : clean
|
||||||
|
|
||||||
# Make clean tarballs for release
|
# Make clean tarballs for release
|
||||||
|
|
||||||
gpxe-tarball : ../VERSION
|
tarball : ../VERSION
|
||||||
($(ECHO) -n $(VERSION) ''; date -u +'%Y-%m-%d') > ../VERSION
|
($(ECHO) -n $(VERSION) ''; date -u +'%Y-%m-%d') > ../VERSION
|
||||||
$(RM) -r /tmp/gpxe/gpxe-$(VERSION)
|
$(RM) -r /tmp/$(USER)/gpxe-$(VERSION)
|
||||||
mkdir -p /tmp/gpxe/gpxe-$(VERSION)
|
mkdir -p /tmp/$(USER)/gpxe-$(VERSION)
|
||||||
cp -rP .. /tmp/gpxe/gpxe-$(VERSION)
|
cp -rP .. /tmp/$(USER)/gpxe-$(VERSION)
|
||||||
$(RM) -r /tmp/gpxe/CVS
|
( cd /tmp/$(USER)/gpxe-$(VERSION)/src ; $(RM) -r bin/deps; $(MAKE) clean ; $(MAKE) veryclean )
|
||||||
( cd /tmp/gpxe/gpxe-$(VERSION)/src ; $(RM) -r bin/deps ; $(MAKE) clean ; $(MAKE) veryclean )
|
( cd /tmp/$(USER); tar cf /tmp/$(USER)/gpxe-$(VERSION).tar --exclude ".git*" --exclude "#*" \
|
||||||
( cd /tmp/gpxe; tar cf /tmp/gpxe/gpxe-$(VERSION).tar --exclude CVS --exclude "#*" \
|
|
||||||
--exclude "*~" gpxe-$(VERSION) )
|
--exclude "*~" gpxe-$(VERSION) )
|
||||||
bzip2 -9 < /tmp/gpxe/gpxe-$(VERSION).tar > /tmp/gpxe/gpxe-$(VERSION).tar.bz2
|
bzip2 -9 < /tmp/$(USER)/gpxe-$(VERSION).tar > /tmp/$(USER)/gpxe-$(VERSION).tar.bz2
|
||||||
gzip -9 < /tmp/gpxe/gpxe-$(VERSION).tar > /tmp/gpxe/gpxe-$(VERSION).tar.gz
|
gzip -9 < /tmp/$(USER)/gpxe-$(VERSION).tar > /tmp/$(USER)/gpxe-$(VERSION).tar.gz
|
||||||
$(RM) -r /tmp/gpxe/gpxe-$(VERSION)
|
$(RM) -r /tmp/$(USER)/gpxe-$(VERSION)
|
||||||
$(RM) /tmp/gpxe/gpxe-$(VERSION).tar
|
$(RM) /tmp/$(USER)/gpxe-$(VERSION).tar
|
||||||
( cd /tmp/gpxe ; tar -zxf /tmp/gpxe/gpxe-$(VERSION).tar.gz )
|
( cd /tmp/$(USER) ; tar -zxf /tmp/$(USER)/gpxe-$(VERSION).tar.gz )
|
||||||
|
|
Loading…
Reference in New Issue