mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
26 lines
643 B
Makefile
26 lines
643 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 $(MODDIR)/make/defs.mk
|
|
include $(MODDIR)/make/rules.mk
|
|
|
|
all: $(PROFILE)
|
|
install: install_files_PROFILE
|
|
clean: allclean localclean doneclean textclean clean.profile
|
|
|
|
path-%.sh:
|
|
@echo "export PATH=\$$PATH:$(INSTALL_EXEDIR)" > $@.tmp
|
|
mv $@.tmp $@
|
|
clean.profile:
|
|
/bin/bash $(MOD_SCRIPT_DIR)/scm.sh clean -f $(PROFILE)
|