mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
24 lines
509 B
Makefile
24 lines
509 B
Makefile
# generic utility modules
|
|
# (c) 2001 jannet it services
|
|
# contact@jannet.de
|
|
# $Id$
|
|
|
|
EXE_SH =
|
|
PROFILE ?= $(wildcard *.sh)
|
|
|
|
ifeq ($(PROFILE),)
|
|
PROFILE = path-$(PROJECT).sh
|
|
endif
|
|
|
|
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)
|