[DRBD-cvs] r1433 - trunk

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Thu, 15 Jul 2004 15:38:44 +0200 (CEST)


Author: lars
Date: 2004-07-15 15:38:42 +0200 (Thu, 15 Jul 2004)
New Revision: 1433

Modified:
   trunk/Makefile
Log:
adjust to new form of svn date stamp for tarball target

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2004-07-15 12:17:50 UTC (rev 1432)
+++ trunk/Makefile	2004-07-15 13:38:42 UTC (rev 1433)
@@ -19,17 +19,18 @@
 
 #PREFIX      = /usr/local
 
-SUBDIRS     = user drbd scripts benchmark documentation #testing
-ALLSUBDIRS  = user drbd scripts benchmark documentation testing
+SUBDIRS     = user scripts benchmark documentation drbd #testing
+ALLSUBDIRS  = user scripts benchmark documentation drbd testing
 ifdef FORCE
 #
 # NOTE to generate a tgz even if too lazy to update the changelogs,
-# or to forcefully include the cvs date in the tgz name:
+# or to forcefully include the svn-release-and-date in the tgz name:
 #   make distclean doc tgz FORCE=1
 #
-REL_VERSION := $(shell sed -ne '/REL_VERSION/{s/^.*"\(.*\) cvs .Date: \(.\{10\}\).*/\1-\2/;s,/,,g;p;q;}' drbd_config.h)
+#define REL_VERSION "0.7-pre10 svn $Rev: 1432 $ $Date: 2004-07-15 14:17:50 +0200 (Thu, 15 Jul 2004) $"
+REL_VERSION := $(shell sed -ne '/REL_VERSION/{s/^.*"\(.*\) svn .Rev: \([0-9]\+\) . .Date: \([0-9]*\)-\([0-9]*\)-\([0-9]*\).*/\1-\2-\3\4\5/;s,/,,g;p;q;}' drbd_config.h)
 else
-REL_VERSION := $(shell sed -ne '/REL_VERSION/{s/^.*"\(.*\) cvs .*/\1/;p;q;}' drbd/linux/drbd_config.h)
+REL_VERSION := $(shell sed -ne '/REL_VERSION/{s/^.*"\(.*\) svn .*/\1/;p;q;}' drbd/linux/drbd_config.h)
 endif
 DIST_VERSION := $(subst -,_,$(REL_VERSION))