mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make: Re-add files necessary for building jw-python
Re-add everything necessary for building and packaging jw-python. ldlibpath.mk is not strictly necessary, but might be with other Python packages backed by compiled C-code, so leave it in. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
5b758023ac
commit
0a9340af49
7 changed files with 261 additions and 0 deletions
26
make/profile.mk
Normal file
26
make/profile.mk
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# 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
|
||||
|
||||
path-%.sh:
|
||||
@echo "export PATH=\$$PATH:$(INSTALL_EXEDIR)" > $@.tmp
|
||||
mv $@.tmp $@
|
||||
clean.profile:
|
||||
/bin/bash $(JWB_SCRIPT_DIR)/scm.sh clean -f $(PROFILE)
|
||||
Loading…
Add table
Add a link
Reference in a new issue