Commit in LCDetectors on MAIN
Makefile+23-101.4 -> 1.5
JM: Some new targets for LCDetectors Makefile.

LCDetectors
Makefile 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- Makefile	29 Aug 2006 23:37:58 -0000	1.4
+++ Makefile	5 Sep 2006 19:08:23 -0000	1.5
@@ -12,37 +12,50 @@
 build_all: cvs_update lcdd_all zip_all
 
 taglist:
-	cd detectors && ./make_taglist.sh
+	@cd detectors && ./make_taglist.sh
 
 taglist_commit:
-	cd detectors && cvs commit -m "Update taglist." taglist.txt
+	@cd detectors && cvs commit -m "Update taglist." taglist.txt
 
 cvs_update:
-	cd detectors && cvs update -d
+	@cd detectors && cvs update -d
 
 update_all:
-	cd detectors && ./update_detectors.sh
+	@cd detectors && ./update_detectors.sh
 
 lcdd_all:
-	cd detectors && ./make_all_lcdd.sh
+	@cd detectors && ./make_all_lcdd.sh
 
 zip_all:
-	cd detectors && ./make_zips.sh
+	@cd detectors && ./make_zips.sh
 
 ifdef DETECTOR
 
+.PHONY: build update zip lcdd cvs_commit mkdir template properties new
+
 build: lcdd zip
 
 update:
-	cd detectors && ./update_detector.sh $(DETECTOR)
+	@cd detectors && ./update_detector.sh $(DETECTOR)
 
 zip:
-	cd detectors && ./make_detector_zip.sh $(DETECTOR)
+	@cd detectors && ./make_detector_zip.sh $(DETECTOR)
 
 lcdd:
-	cd detectors && ./make_lcdd.sh $(DETECTOR)
+	@cd detectors && ./make_lcdd.sh $(DETECTOR)
 
 cvs_commit:
-	if [ -d detectors/$(DETECTOR) ]; then cd detectors/$(DETECTOR) && cvs commit -m "Updates to $(DETECTOR) detector."; fi
+	@if [ -d detectors/$(DETECTOR) ]; then cd detectors/$(DETECTOR) && cvs commit -m "Updates to $(DETECTOR) detector."; fi
+
+mkdir:
+	@if [ ! -d detectors/$(DETECTOR) ]; then cd detectors && mkdir $(DETECTOR); fi
+
+template:
+	@cp -R detectors/template/* detectors/$(DETECTOR)
+
+properties:
+	@echo "name: $(DETECTOR)" > detectors/$(DETECTOR)/detector.properties
+
+new: mkdir template properties
 
 endif
CVSspam 0.2.8