docs: make works in a fresh clone again now decoders landed (b368998)

Remove the stale caveat that make fails without src/geotag.c.
Plain make builds sfile (and scar); make stag sgeo stays the
minimal build for the geotag tools.
This commit is contained in:
Muse committed 2026-12-02 09:23:36 +00:00
1 parent b3689981bc
commit b21573d47d
2 files changed
+8 -24

No files matched your search

+2 -9
View File
@@ -206,20 +206,13 @@ first line.
## Building
```
make # builds ./sfile (gcc, -O2 -Wall -Wextra, no exotic deps)
make # builds ./sfile and ./scar (gcc, -O2 -Wall -Wextra, no exotic deps)
make stag sgeo # builds the geotag tools (see below)
make table # regenerate src/formats.h from tools/all_formats.cpp
make test # run the per-format test loop over samples/
make install # install to /usr/local/bin (PREFIX=... to change)
```
> **For now, build the geotag tools with `make stag sgeo`, not
> `make`.** The `all` target builds `sfile` too, and `sfile`
> currently needs `src/geotag.c` — the geotagging-decoder file,
> still uncommitted work in the decoder job's clone — so `make`
> fails in a fresh clone. `make stag sgeo` does not touch `sfile`
> and works. Once the decoders land, `make` builds everything
> again.
## Usage
@@ -307,7 +300,7 @@ was found. `sgeo` plots the geotagged files on an OpenStreetMap image
containers themselves; the seam is `docs/geotag-contract.md`.
```console
$ make stag sgeo # build (not `make` — see docs/stag-sgeo.md)
$ make stag sgeo # build the geotag tools
$ stag photos/ # -> geotags.csv in the cwd
$ sgeo photos/ # -> map.png in the cwd (fetches OSM tiles at runtime)
```
+6 -15
View File
@@ -12,7 +12,8 @@ parse image or video containers themselves. The exact seam — what
## Building
```console
$ make stag sgeo
$ make # builds sfile (and scar)
$ make stag sgeo # builds the geotag tools
```
`stag` needs only libm; `sgeo` links libpng and libcurl
@@ -20,20 +21,10 @@ $ make stag sgeo
must be installed. Both need a built `sfile` binary at *runtime*, not
at build time (see [Finding sfile](#finding-sfile)).
> **For now, build with `make stag sgeo`, not `make`.** The pushed
> Makefile's `all` target builds `sfile` too, and `sfile` currently
> needs `src/geotag.c` — the geotagging-decoder file, which is still
> uncommitted work in the decoder job's clone. In a fresh clone
> `make` fails with:
>
> ```console
> $ make
> make: *** No rule to make target 'src/geotag.c', needed by 'sfile'. Stop.
> ```
>
> `make stag sgeo` does not touch `sfile` and works in a fresh clone
> (verified Dec 2, 2026). Once the geotagging decoders land, `make`
> builds everything again.
The geotagging decoders landed Dec 2, 2026 (commit `b368998`), so a
plain `make` works in a fresh clone again (verified Dec 2, 2026).
`make stag sgeo` remains the minimal build for just the geotag tools:
it does not touch `sfile`.
## Finding sfile