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

fix make rpm

parent 3bef3dfb
No related branches found
No related tags found
No related merge requests found
# $Id: Makefile,v 1.334 2004-04-15 05:35:31 geuzaine Exp $ # $Id: Makefile,v 1.335 2004-04-15 05:44:38 geuzaine Exp $
# #
# Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
# #
...@@ -234,7 +234,7 @@ package-mac: ...@@ -234,7 +234,7 @@ package-mac:
gmsh-${GMSH_VERSION}/*/*.msh gmsh-${GMSH_VERSION}/*/*.msh
tar zcvf gmsh-${GMSH_VERSION}-MacOSX.tgz gmsh-${GMSH_VERSION} tar zcvf gmsh-${GMSH_VERSION}-MacOSX.tgz gmsh-${GMSH_VERSION}
rpm: package-rpm:
tar zcvf /usr/src/redhat/SOURCES/gmsh-${GMSH_VERSION}.tar.gz ${GMSH_SOURCES} tar zcvf /usr/src/redhat/SOURCES/gmsh-${GMSH_VERSION}.tar.gz ${GMSH_SOURCES}
rpmbuild -bb --define 'gmshversion ${GMSH_VERSION}' gmsh.spec rpmbuild -bb --define 'gmshversion ${GMSH_VERSION}' gmsh.spec
cp /usr/src/redhat/RPMS/i386/gmsh-${GMSH_VERSION}-?.i386.rpm . cp /usr/src/redhat/RPMS/i386/gmsh-${GMSH_VERSION}-?.i386.rpm .
...@@ -273,6 +273,11 @@ distrib-mac: clean ...@@ -273,6 +273,11 @@ distrib-mac: clean
${POSTBUILD} ${POSTBUILD}
otool -L bin/gmsh otool -L bin/gmsh
distrib-rpm:
make distrib-pre
make package-rpm
make distrib-post
distrib-source: distrib-source:
make distrib-pre make distrib-pre
make source make source
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment