|
|
| File: [Development] / failsafe / FailSafe-mgr / taskRegistry / taskregdefs.am (download)
Revision 1.2, Mon Jul 24 22:36:22 2000 UTC (17 years, 2 months ago) by rusty
Added GPL/LGPL copyright headers & documentation for open source release, and removed CXFS stuff |
# Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved. include $(top_srcdir)/common.am #CATEGORY = $(shell pwd | sed -e 's/^.*\/\([^\/]*\)$$/\1/') checktasks: @TASKS='$(TASKS)' ; if [ "$$TASKS" != "" ]; then \ for task in $$TASKS; do \ file=$(top_srcdir)/packages/`echo $$task | \ sed -e 's/^[0-9]*\.//' | \ sed -e 's/\./\//g'`.class; \ echo "checking task $$task"; \ if test -f $$file -o -f $$task.noerror; then :; \ else echo Error: $$file does not exist; exit 1; \ fi; \ done; \ fi ##all-local: checktasks install-data-local: checktasks @TASKS='$(TASKS)' ; if [ "$$TASKS" != "" ]; then \ CATEGORY=`pwd | sed -e 's/^.*\/\([^\/]*\)$$/\1/'` ; \ ## echo "\$$CATEGORY == $$CATEGORY"; \ $(mkinstalldirs) $(DESTDIR)$(RHTASKREGDIR)/$$CATEGORY; \ for task in $$TASKS; do \ ## echo $(INSTALL_TASK); $(INSTALL_TASK); \ $(INSTALL_DATA) $$task $(DESTDIR)$(RHTASKREGDIR)/$$CATEGORY; \ done; \ fi EXTRA_DIST += $(TASKS)