Update of /cvsroot/mahogany/M
In directory sc8-pr-cvs1:/tmp/cvs-serv24464

Modified Files:
        Makefile 
Log Message:
removed makeversion.in; the version info is only in include/Mversion.h now

Index: Makefile
===================================================================
RCS file: /cvsroot/mahogany/M/Makefile,v
retrieving revision 1.67
retrieving revision 1.68
diff -b -u -2 -r1.67 -r1.68
--- Makefile    24 Jul 2003 01:15:47 -0000      1.67
+++ Makefile    28 Jul 2003 20:33:21 -0000      1.68
@@ -1,9 +1,23 @@
-# Makefile for M root directory
-# $Id$
+###############################################################################
+# Project:     M
+# File name:   Makefile
+# Purpose:     the top level Makefile for Mahogany
+# Author:      Mahogany Dev-Team
+# Modified by:
+# Created:     1998
+# CVS-ID:      $Id$
+# Copyright:   (c) 1997-2003 M-Team
+# Licence:     M license
+###############################################################################
+
+# define it first to avoid building secondary targets by default accidentally
+all_real: all
 
 include makeopts
 
-makeversion: .src/makeversion.in
-       sh -e .src/makeversion.in
+# extract the version information from the central version file
+makeversion: .src/include/Mversion.h
+       grep "^#define M_VERSION_[MR]" $< | \
+         sed 's/^#define \+\(\w\+\) \+\([0-9]\+\)/\1=\2/' > $@
 
 include makeversion
@@ -129,4 +143,4 @@
 
 
-.PHONY: all clean bak backup config program doc install install_doc \
+.PHONY: all all_real clean bak backup config program doc install install_doc \
        locales scandoc install_locale install_rpm classdoc



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to