Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joakimbits/normalize

Make Make more inclusive - build automatically and from anywhere
https://github.com/joakimbits/normalize

assembly-x86 bringup c cpp devops includable make pandoc pdf-generation python3 relocatable report test venv

Last synced: about 2 months ago
JSON representation

Make Make more inclusive - build automatically and from anywhere

Awesome Lists containing this project

README

        

## 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:

```sh
$ 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](example/README.md)