(Dev) "trunk" is now labelled "2.1 wip". Makefile: "make ziprelease" now automatically names archives according to the version label from pversion.c
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@862 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									2ff4d17c95
								
							
						
					
					
						commit
						7cb2519e2a
					
				
							
								
								
									
										13
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								Makefile
									
									
									
									
									
								
							@ -237,10 +237,15 @@ release : version $(BIN)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# Create a zip archive ready for upload to the website, including binaries and sourcecode
 | 
					# Create a zip archive ready for upload to the website, including binaries and sourcecode
 | 
				
			||||||
ziprelease: version $(BIN) release
 | 
					ziprelease: version $(BIN) release
 | 
				
			||||||
	tar cvzf src-svn`svnversion | sed 's/:/-/'`.tgz --transform 's,^,src/,g' *.c *.h Makefile Makefile.dep gfx2.ico 
 | 
						echo `sed "s/.*=\"\(.*\)\";/\1/" pversion.c`-svn`svnversion` | tr " :" "_-" > $(OBJDIR)/versiontag
 | 
				
			||||||
	$(ZIP) $(ZIPOPT) grafx2-svn`svnversion | sed 's/:/-/'`$(TTFLABEL)-$(PLATFORM).$(ZIP) $(BIN) gfx2def.ini skins/base.gif gfx2.gif doc/README.txt doc/COMPILING.txt doc/gpl-2.0.txt fonts/8pxfont.png doc/README-zlib1.txt doc/README-SDL.txt doc/README-SDL_image.txt doc/README-SDL_ttf.txt fonts/Tuffy.ttf src-svn`svnversion | sed 's/:/-/'`.tgz $(PLATFORMFILES)
 | 
					
 | 
				
			||||||
	$(DELCOMMAND) src-svn`svnversion | sed 's/:/-/'`.tgz
 | 
						tar cvzf "src-`cat $(OBJDIR)/versiontag`.tgz" --transform 's,^,src/,g' *.c *.h Makefile Makefile.dep gfx2.ico 
 | 
				
			||||||
	tar cvzf grafx2-svn`svnversion | sed 's/:/-/'`$(TTFLABEL)-src.tgz --transform 's,^,grafx2/,g' *.c *.h Makefile Makefile.dep gfx2def.ini skins/base.gif gfx2.ico gfx2.gif doc/README.txt doc/COMPILING.txt doc/gpl-2.0.txt misc/grafx2.1 misc/grafx2.xpm misc/grafx2.desktop fonts/8pxfont.png fonts/Tuffy.ttf
 | 
						$(ZIP) $(ZIPOPT) "grafx2-`cat $(OBJDIR)/versiontag`$(TTFLABEL)-$(PLATFORM).$(ZIP)" $(BIN) gfx2def.ini skins/base.gif gfx2.gif doc/README.txt doc/COMPILING.txt doc/gpl-2.0.txt fonts/8pxfont.png doc/README-zlib1.txt doc/README-SDL.txt doc/README-SDL_image.txt doc/README-SDL_ttf.txt fonts/Tuffy.ttf src-`cat $(OBJDIR)/versiontag`.tgz $(PLATFORMFILES)
 | 
				
			||||||
 | 
						$(DELCOMMAND) "src-`cat $(OBJDIR)/versiontag`.tgz"
 | 
				
			||||||
 | 
						tar cvzf "grafx2-`cat $(OBJDIR)/versiontag`$(TTFLABEL)-src.tgz" --transform 's,^,grafx2/,g' *.c *.h Makefile Makefile.dep gfx2def.ini skins/base.gif gfx2.ico gfx2.gif doc/README.txt doc/COMPILING.txt doc/gpl-2.0.txt misc/grafx2.1 misc/grafx2.xpm misc/grafx2.desktop fonts/8pxfont.png fonts/Tuffy.ttf
 | 
				
			||||||
 | 
						$(DELCOMMAND) "$(OBJDIR)/versiontag"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					testsed :
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(BIN) : $(OBJ) $(OBJRES)
 | 
					$(BIN) : $(OBJ) $(OBJRES)
 | 
				
			||||||
	$(CC) $(OBJ) $(OBJRES) -o $(BIN) $(LOPT)
 | 
						$(CC) $(OBJ) $(OBJRES) -o $(BIN) $(LOPT)
 | 
				
			||||||
 | 
				
			|||||||
@ -1 +1 @@
 | 
				
			|||||||
char Program_version[]="2.0";
 | 
					char Program_version[]="2.1 wip";
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user