Bladeren bron

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 jaren geleden
bovenliggende
commit
c9593cd35b
1 gewijzigde bestanden met toevoegingen van 19 en 14 verwijderingen
  1. 19
    14
      src/Makefile.housekeeping

+ 19
- 14
src/Makefile.housekeeping Bestand weergeven

@@ -10,8 +10,8 @@ CLEANUP	:= $(BIN)/*.* # *.* to avoid catching the "CVS" directory
10 10
 # Version number calculations 
11 11
 #
12 12
 VERSION_MAJOR	= 0
13
-VERSION_MINOR	= 5
14
-VERSION_PATCH	= 1
13
+VERSION_MINOR	= 9
14
+VERSION_PATCH	= 3
15 15
 EXTRAVERSION	=	
16 16
 MM_VERSION	= $(VERSION_MAJOR).$(VERSION_MINOR)
17 17
 VERSION		= $(MM_VERSION).$(VERSION_PATCH)$(EXTRAVERSION)
@@ -22,6 +22,12 @@ IDENT		= '$(@F) $(VERSION) (GPL) etherboot.org'
22 22
 version :
23 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 31
 # Check for tools that can cause failed builds
26 32
 #
27 33
 .toolcheck : Makefile Config
@@ -582,17 +588,16 @@ veryclean : clean
582 588
 
583 589
 # Make clean tarballs for release
584 590
 
585
-gpxe-tarball : ../VERSION
591
+tarball : ../VERSION
586 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 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 )

Laden…
Annuleren
Opslaan