Everywhere: Remove everything non-essential for "make clean all"

This commit removes everything not strictly necessary for running
"make clean all" inside jw-build.

packaging jw-devtest. This cuts the repo down from 24077 to 4725
lines of code.

The idea is to

1) Further remove bloat from the remaining bits

2) Re-add what's necessary to build and package other essential repos.

   The decision should be based on whether or not jw-build can also be
   useful in a non-janware context.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-14 15:02:56 +01:00
commit bc883deed4
199 changed files with 0 additions and 18851 deletions

View file

@ -1,34 +0,0 @@
include $(JWBDIR)/make/defs.mk
PROFILE_SH = profile-$(PROJECT).sh
all: $(PROFILE_SH)
clean: clean.std-tools
install: $(PROFILE_SH) install.std-tools.done
distclean: clean
$(PROFILE_SH): $(LOCAL_MKFILES)
echo '#!/bin/sh' > $@.tmp
echo "if [ \"\$$PATH\" ]; then" >> $@.tmp
echo " PATH=\$$PATH:$(INSTALL_EXEDIR)" >> $@.tmp
echo "else" >> $@.tmp
echo " PATH=$(INSTALL_EXEDIR)" >> $@.tmp
echo "fi" >> $@.tmp
echo "if [ \"\$$LD_LIBRARY_PATH\" ]; then" >> $@.tmp
echo " LD_LIBRARY_PATH=\$$LD_LIBRARY_PATH:$(INSTALL_LIBDIR)" >> $@.tmp
echo "else" >> $@.tmp
echo " LD_LIBRARY_PATH=$(INSTALL_LIBDIR)" >> $@.tmp
echo "fi" >> $@.tmp
echo "export PATH LD_LIBRARY_PATH" >> $@.tmp
mv $@.tmp $@
clean.std-tools:
$(RM) -f $(PROFILE_SH) *.done
install.std-tools.done: install.std-dir.done
$(INSTALL) -p -o $(PROFILEOWNER) -g $(PROFILEGROUP) -m $(PROFILEMODE) $(PROFILE_SH) $(PROFILE_DIR)
touch $@
install.std-dir.done:
mkdir -p $(PROFILE_DIR)
touch $@