diff options
Diffstat (limited to 'Makefile.common')
| -rw-r--r-- | Makefile.common | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common index a2ab78d..051e92b 100644 --- a/Makefile.common +++ b/Makefile.common @@ -5,7 +5,7 @@ # Copyright (C) 2004-2005 Red Hat, Inc. # Copyright (C) 2005 Fedora Foundation # -# $Id: Makefile.common,v 1.105 2008/07/03 19:15:27 notting Exp $ +# $Id: Makefile.common,v 1.106 2008/07/21 19:01:59 ausil Exp $ # Do one thing...find out what SCM we need to work with and whether we are # a traditional SRPM style file makeup or an exploded source repo. Once we @@ -18,9 +18,10 @@ for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then endef COMMON_DIR := $(shell $(find-common-dir)) -# Get what SCM this repo uses +# Get what SCM this repo uses...the plan is to add scm packages as support for +# them is added...right now we only do cvs and git, so that's all we test for define find-what-scm -for d in CVS git svn hg arch bzr ; do if [ -d .$$d -o -d $$d ] ; then echo $$d ; fi ; done +for d in CVS git ; do if [ -d .$$d -o -d $$d ] ; then echo $$d ; fi ; done endef SCM := $(shell $(find-what-scm)) @@ -32,4 +33,3 @@ endef LAYOUT := $(shell $(find-layout)) include $(COMMON_DIR)/Makefile.$(LAYOUT)-$(SCM) - |
