Browse Source

Updated $(VERSION) for release. Change tarball generation.

Added 'install' and 'configure' targets for those who are used
to other build setups.
tags/v0.9.3
Marty Connor 17 years ago
parent
commit
c9593cd35b
1 changed files with 19 additions and 14 deletions
  1. 19
    14
      src/Makefile.housekeeping

+ 19
- 14
src/Makefile.housekeeping View File

10
 # Version number calculations 
10
 # Version number calculations 
11
 #
11
 #
12
 VERSION_MAJOR	= 0
12
 VERSION_MAJOR	= 0
13
-VERSION_MINOR	= 5
14
-VERSION_PATCH	= 1
13
+VERSION_MINOR	= 9
14
+VERSION_PATCH	= 3
15
 EXTRAVERSION	=	
15
 EXTRAVERSION	=	
16
 MM_VERSION	= $(VERSION_MAJOR).$(VERSION_MINOR)
16
 MM_VERSION	= $(VERSION_MAJOR).$(VERSION_MINOR)
17
 VERSION		= $(MM_VERSION).$(VERSION_PATCH)$(EXTRAVERSION)
17
 VERSION		= $(MM_VERSION).$(VERSION_PATCH)$(EXTRAVERSION)
22
 version :
22
 version :
23
 	@$(ECHO) $(VERSION)
23
 	@$(ECHO) $(VERSION)
24
 
24
 
25
+configure : 
26
+	@$(ECHO) "No configuration needed."
27
+
28
+install :
29
+	@$(ECHO) "No installation required. Generated images will be placed in the" $(BIN) "directory."
30
+
25
 # Check for tools that can cause failed builds
31
 # Check for tools that can cause failed builds
26
 #
32
 #
27
 .toolcheck : Makefile Config
33
 .toolcheck : Makefile Config
582
 
588
 
583
 # Make clean tarballs for release
589
 # Make clean tarballs for release
584
 
590
 
585
-gpxe-tarball : ../VERSION
591
+tarball : ../VERSION
586
 	($(ECHO) -n $(VERSION) ''; date -u +'%Y-%m-%d') > ../VERSION
592
 	($(ECHO) -n $(VERSION) ''; date -u +'%Y-%m-%d') > ../VERSION
587
-	$(RM) -r /tmp/gpxe/gpxe-$(VERSION)
588
-	mkdir -p /tmp/gpxe/gpxe-$(VERSION)
589
-	cp -rP .. /tmp/gpxe/gpxe-$(VERSION)
590
-	$(RM) -r /tmp/gpxe/CVS
591
-	( cd /tmp/gpxe/gpxe-$(VERSION)/src ; $(RM) -r bin/deps ; $(MAKE) clean ; $(MAKE) veryclean )
592
-	( cd /tmp/gpxe; tar cf /tmp/gpxe/gpxe-$(VERSION).tar --exclude CVS --exclude "#*" \
593
+	$(RM) -r /tmp/$(USER)/gpxe-$(VERSION)
594
+	mkdir -p /tmp/$(USER)/gpxe-$(VERSION)
595
+	cp -rP .. /tmp/$(USER)/gpxe-$(VERSION)
596
+	( cd /tmp/$(USER)/gpxe-$(VERSION)/src ; $(RM) -r bin/deps; $(MAKE) clean ; $(MAKE) veryclean )
597
+	( cd /tmp/$(USER); tar cf /tmp/$(USER)/gpxe-$(VERSION).tar --exclude ".git*" --exclude "#*" \
593
 	  --exclude "*~" gpxe-$(VERSION) )
598
 	  --exclude "*~" gpxe-$(VERSION) )
594
-	bzip2 -9 < /tmp/gpxe/gpxe-$(VERSION).tar > /tmp/gpxe/gpxe-$(VERSION).tar.bz2
595
-	gzip -9 < /tmp/gpxe/gpxe-$(VERSION).tar > /tmp/gpxe/gpxe-$(VERSION).tar.gz
596
-	$(RM) -r /tmp/gpxe/gpxe-$(VERSION)
597
-	$(RM) /tmp/gpxe/gpxe-$(VERSION).tar
598
-	( cd /tmp/gpxe ; tar -zxf /tmp/gpxe/gpxe-$(VERSION).tar.gz )
599
+	bzip2 -9 < /tmp/$(USER)/gpxe-$(VERSION).tar > /tmp/$(USER)/gpxe-$(VERSION).tar.bz2
600
+	gzip -9 < /tmp/$(USER)/gpxe-$(VERSION).tar > /tmp/$(USER)/gpxe-$(VERSION).tar.gz
601
+	$(RM) -r /tmp/$(USER)/gpxe-$(VERSION)
602
+	$(RM) /tmp/$(USER)/gpxe-$(VERSION).tar
603
+	( cd /tmp/$(USER) ; tar -zxf /tmp/$(USER)/gpxe-$(VERSION).tar.gz )

Loading…
Cancel
Save