Created 'release' Makefile target, which generates a .tar.gz.
Moved "VER_VERSION" to Makefile (where 'release' can pick it up), and made "VER_DATE" a dynamically-generated Makefile variable.
This commit is contained in:
parent
c94ed6af40
commit
91cdab237a
3 changed files with 30 additions and 6 deletions
25
Makefile
25
Makefile
|
|
@ -2,11 +2,17 @@
|
|||
|
||||
# Tux Paint - A simple drawing program for children.
|
||||
|
||||
# Copyright (c) 2005 by Bill Kendrick
|
||||
# Copyright (c) 2005 by Bill Kendrick and others
|
||||
# bill@newbreedsoftware.com
|
||||
# http://www.newbreedsoftware.com/tuxpaint/
|
||||
|
||||
# June 14, 2002 - October 2, 2005
|
||||
# June 14, 2002 - October 9, 2005
|
||||
|
||||
|
||||
# The version number, for release:
|
||||
|
||||
VER_VERSION=0.9.15
|
||||
VER_DATE=`date +"%Y-%m-%d"`
|
||||
|
||||
|
||||
# Where to install things:
|
||||
|
|
@ -94,7 +100,9 @@ CFLAGS=-O2 -W -Wall -fno-common -ffast-math \
|
|||
-Wbad-function-cast -Wwrite-strings \
|
||||
-Waggregate-return \
|
||||
-Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wdeclaration-after-statement
|
||||
-Wdeclaration-after-statement \
|
||||
-DVER_VERSION=\"$(VER_VERSION)\" \
|
||||
-DVER_DATE=\"$(VER_DATE)\"
|
||||
|
||||
DEFS=-DDATA_PREFIX=\"$(DATA_PREFIX)/\" \
|
||||
-D$(NOSOUNDFLAG) -DDOC_PREFIX=\"$(DOC_PREFIX)/\" \
|
||||
|
|
@ -114,6 +122,17 @@ all: tuxpaint translations
|
|||
@echo "to install Tux Paint."
|
||||
@echo
|
||||
|
||||
release:
|
||||
@echo
|
||||
@echo "Creating release tarball"
|
||||
@
|
||||
@make clean
|
||||
-@rm -f ../tuxpaint-$(VER_VERSION).tar
|
||||
@cd .. ; \
|
||||
find tuxpaint-$(VER_VERSION) -follow \
|
||||
\( -wholename '*/CVS' -o -name .cvsignore \) \
|
||||
-prune -o -type f -print0 | \
|
||||
xargs -0 tar -czvf tuxpaint-$(VER_VERSION).tar.gz
|
||||
|
||||
|
||||
# "make nosound" builds the program with sound disabled, and man page,
|
||||
|
|
|
|||
|
|
@ -235,6 +235,12 @@ http://www.newbreedsoftware.com/tuxpaint/
|
|||
|
||||
* Compiling, porting and packaging updates:
|
||||
-----------------------------------------
|
||||
* Created 'release' Makefile target, which generates a .tar.gz
|
||||
(sans CVS-related files) based on the clean source directory.
|
||||
|
||||
* Moved "VER_VERSION" to Makefile (where 'release' can pick it up),
|
||||
and made "VER_DATE" a dynamically-generated Makefile variable.
|
||||
|
||||
* Added additional Windows-only search paths for stamps, fonts and brushes.
|
||||
John Popplewell <john@johnnypops.demon.co.uk>
|
||||
|
||||
|
|
|
|||
|
|
@ -22,12 +22,11 @@
|
|||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
(See COPYING.txt)
|
||||
|
||||
June 14, 2002 - October 6, 2005
|
||||
June 14, 2002 - October 9, 2005
|
||||
*/
|
||||
|
||||
|
||||
#define VER_VERSION "0.9.15"
|
||||
#define VER_DATE "2005-10-09"
|
||||
/* (Note: VER_VERSION and VER_DATE are now handled by Makefile) */
|
||||
|
||||
|
||||
/* Color depth for Tux Paint to run in, and store canvases in: */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue