Every directory should have a test target, and the test target should depend on all so that all files are generated that might be needed for testing. This commit fixes some missing targets, and adds some missing dependencies.
Signed-off-by: Jan Lindemann <jan@janware.com>
27 lines
653 B
Makefile
27 lines
653 B
Makefile
# generic utility modules
|
|
# (c) 2001 jannet it services
|
|
# contact@jannet.de
|
|
# $Id$
|
|
|
|
PATH_PROFILE ?= path-$(PROJECT).sh
|
|
EXE_SH =
|
|
|
|
ifeq ($(PROFILE),)
|
|
PROFILE = $(PATH_PROFILE)
|
|
endif
|
|
|
|
PROFILE += $(filter-out $(PATH_PROFILE),$(wildcard *.sh))
|
|
|
|
include $(JWBDIR)/make/defs.mk
|
|
include $(JWBDIR)/make/rules.mk
|
|
|
|
all: $(PROFILE)
|
|
install: install_files_PROFILE
|
|
clean: allclean localclean doneclean textclean clean.profile
|
|
test: all
|
|
|
|
path-%.sh:
|
|
@echo "export PATH=\$$PATH:$(INSTALL_EXEDIR)" > $@.tmp
|
|
mv $@.tmp $@
|
|
clean.profile:
|
|
/bin/bash $(JWB_SCRIPT_DIR)/scm.sh clean -f $(PROFILE)
|