Skip to content
Snippets Groups Projects
Commit ed070f5f authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

add "-cvs" extra tag for non-released versions
parent 4a517d67
Branches
Tags
No related merge requests found
# $Id: Makefile,v 1.331 2004-04-15 02:13:22 geuzaine Exp $ # $Id: Makefile,v 1.332 2004-04-15 03:04:48 geuzaine Exp $
# #
# Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
# #
...@@ -24,7 +24,7 @@ include variables ...@@ -24,7 +24,7 @@ include variables
GMSH_MAJOR_VERSION = 1 GMSH_MAJOR_VERSION = 1
GMSH_MINOR_VERSION = 51 GMSH_MINOR_VERSION = 51
GMSH_PATCH_VERSION = 5 GMSH_PATCH_VERSION = 5
GMSH_EXTRA_VERSION = GMSH_EXTRA_VERSION = "-cvs"
GMSH_VERSION = ${GMSH_MAJOR_VERSION}.${GMSH_MINOR_VERSION}.${GMSH_PATCH_VERSION}${GMSH_EXTRA_VERSION} GMSH_VERSION = ${GMSH_MAJOR_VERSION}.${GMSH_MINOR_VERSION}.${GMSH_PATCH_VERSION}${GMSH_EXTRA_VERSION}
...@@ -170,20 +170,26 @@ minizip: ...@@ -170,20 +170,26 @@ minizip:
tar jcvf gmsh-`date "+%Y.%m.%d"`.tar.bz2 \ tar jcvf gmsh-`date "+%Y.%m.%d"`.tar.bz2 \
`ls Makefile */Makefile */*.[chyl] */*.[ch]pp */*.rc */*.res */*.ico` `ls Makefile */Makefile */*.[chyl] */*.[ch]pp */*.rc */*.res */*.ico`
distrib-msg: distrib-pre:
mv -f Makefile Makefile.distrib
sed -e "s/^GMSH_EXTRA_VERSION.*/GMSH_EXTRA_VERSION =/g"\
Makefile.distrib > Makefile
distrib-post:
mv -f Makefile.distrib Makefile
@echo "********************************************************************" @echo "********************************************************************"
@echo "Remember to change -ljpeg, etc. to /usr/lib/libjpeg.a, etc. in" @echo "Remember to change -ljpeg, etc. to /usr/lib/libjpeg.a, etc. in"
@echo "./variables and relink if the list below contains non-standard" @echo "./variables and relink if the list below contains non-standard"
@echo "dynamic libs and you want to distribute a portable binary:" @echo "dynamic libs and you want to distribute a portable binary:"
@echo "********************************************************************" @echo "********************************************************************"
distrib-unix: clean all package-unix distrib-msg distrib-unix: clean distrib-pre all package-unix distrib-post
ldd bin/gmsh ldd bin/gmsh
distrib-win: clean all package-win distrib-msg distrib-win: clean distrib-pre all package-win distrib-post
objdump -p bin/gmsh.exe | grep DLL objdump -p bin/gmsh.exe | grep DLL
distrib-mac: clean all package-mac distrib-msg distrib-mac: clean distrib-pre all package-mac distrib-post
${POSTBUILD} ${POSTBUILD}
otool -L bin/gmsh otool -L bin/gmsh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment