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
28
make/cleandirs.mk
Normal file
28
make/cleandirs.mk
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
.NOTPARALLEL:
|
||||
|
||||
all: do.all
|
||||
install: do.install
|
||||
clean: do.clean
|
||||
distclean: do.distclean
|
||||
|
||||
include $(JWBDIR)/make/defs.mk
|
||||
|
||||
SUBDIRS ?= $(FIND_SUBDIRS)
|
||||
|
||||
ifeq ($(FORCE_REBUILD_CLEANDIRS),true)
|
||||
SUBDIRS_ALL = $(SUBDIRS)
|
||||
SUBDIRS_INSTALL = $(SUBDIRS)
|
||||
else
|
||||
SUBDIRS_ALL ?=
|
||||
SUBDIRS_INSTALL ?=
|
||||
endif
|
||||
|
||||
do.all:
|
||||
set -e; for d in $(SUBDIRS_ALL); do make -wC $$d $*; done
|
||||
|
||||
do.install:
|
||||
set -e; for d in $(SUBDIRS_INSTALL); do make -wC $$d $*; done
|
||||
|
||||
do.%:
|
||||
set -e; for d in $(SUBDIRS); do make -wC $$d $*; done
|
||||
$(RM) -rf $(TEXTCLEAN) $(CLEAN) *.done *~ .*.swp *.tmp core *.rep dirs-*.done
|
||||
Loading…
Add table
Add a link
Reference in a new issue