Skip to content

Make Make more inclusive - build automatically and from anywhere

Notifications You must be signed in to change notification settings

joakimbits/normalize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tool for using and reporting arbitrary nested projects


Run this in your project directory:

GH="https://raw.githubusercontent.com"; curl $GH/joakimbits/normalize/main/template/Makefile -o Makefile && make
  • Creates executables from all source files.
  • Recursively also in sub-directories with a README.md file, or any other .md file.

Test and document:

make pdf html slides

Analyze changes since your last release:

make old new review audit

Standalone variant:

$ build.py --makemake
bringup: build/build.py.bringup
tested: build/build.py.tested
build/build.py.tested: build.py build/build.py.shebang build/build.py.mk
	build.py --test > $@
build/build.py.shebang: build.py build/build.py.bringup
	$(PYTHON) build.py --shebang > $@
build/build.py.bringup: build.py | $(PYTHON)
	mkdir -p build/ && \
	$(PYTHON) -m pip install requests tiktoken --no-warn-script-location > $@
  • Python version 3.8 or later is required.

example/README.md