2af6ab3f8390c6c58c642f9fb4d6883ab75f5ab0
galt
  Wed Mar 13 10:28:51 2013 -0700
adding support for hg/encode3/ to makefile system
diff --git src/hg/encode3/makefile src/hg/encode3/makefile
new file mode 100644
index 0000000..282ce88
--- /dev/null
+++ src/hg/encode3/makefile
@@ -0,0 +1,44 @@
+# Build all programs in encode directory
+
+# List of directories to build
+
+DIRS = \
+	validateManifest \
+	validateFiles
+
+# List of pipeline dirs
+PIPELINE_DIRS = \
+
+# much of this file is leftover from encode2
+#        encodeLoad \
+#        encodeValidate \
+#	../utils/automation
+
+USE_DIRS = $(DIRS)
+
+all:
+	@${MAKE} development
+	@for D in $(USE_DIRS) x; do \
+	  if test "$$D" != "x" ; then \
+	    ( cd $$D && echo $$D && $(MAKE) ) ;\
+	    x=$$? ; if [ $$x -ne 0 ]; then exit $$x ; fi \
+	    fi ;\
+	    done
+
+development:
+	@for D in ${PIPELINE_DIRS}; do \
+		 (cd $${D} && ${MAKE} development;) \
+	done
+
+beta:
+	@for D in ${PIPELINE_DIRS}; do \
+		(cd $${D} && ${MAKE} beta;)\
+	done
+
+prod: 
+	@for D in ${PIPELINE_DIRS}; do \
+		(cd $${D} && ${MAKE} prod;) \
+	done
+
+clean::
+	echo nothing to clean in hg/encode3/