From 99543bd4db8818ff85541152b66a94e09a1587b7 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 15 Apr 2004 05:44:38 +0000
Subject: [PATCH] fix make rpm

---
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index db8468fc22..b24e8f34fc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $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
 #
@@ -234,7 +234,7 @@ package-mac:
                gmsh-${GMSH_VERSION}/*/*.msh
 	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}
 	rpmbuild -bb --define 'gmshversion ${GMSH_VERSION}' gmsh.spec
 	cp /usr/src/redhat/RPMS/i386/gmsh-${GMSH_VERSION}-?.i386.rpm .
@@ -273,6 +273,11 @@ distrib-mac: clean
 	${POSTBUILD}
 	otool -L bin/gmsh
 
+distrib-rpm:
+	make distrib-pre
+	make package-rpm
+	make distrib-post
+
 distrib-source:
 	make distrib-pre
 	make source
-- 
GitLab