- check out CVS modules into their own directory, in case the module
authorMark Huang <mlhuang@cs.princeton.edu>
Mon, 27 Mar 2006 16:09:41 +0000 (16:09 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Mon, 27 Mar 2006 16:09:41 +0000 (16:09 +0000)
  consists of multiple subdirectories

Rules.mk

index c84f71d..6ecbcb5 100644 (file)
--- a/Rules.mk
+++ b/Rules.mk
@@ -4,7 +4,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2003-2006 The Trustees of Princeton University
 #
-# $Id: Rules.mk,v 1.19 2006/03/08 21:25:46 mlhuang Exp $
+# $Id: Rules.mk,v 1.20 2006/03/09 16:30:18 mlhuang Exp $
 #
 
 # Base rpmbuild in the current directory
@@ -59,7 +59,7 @@ SOURCEDIRS := $(call stripext,$(SOURCES))
 
 SOURCES/$(MODULE):
        mkdir -p SOURCES
-       cd SOURCES && cvs -d $(CVSROOT) export -r $(TAG) $(MODULE)
+       cd SOURCES && cvs -d $(CVSROOT) export -r $(TAG) -d $(MODULE) $(MODULE)
 
 # Make a hard-linked copy of the exported directory for each Source
 # defined in the spec file. However, our convention is that there