Files
doona/Makefile
T
Zakk 3d1e9a9b92 fix: address feedback on 0.1.0-beta.2
Stop shipping a node_modules archive with releases; package recipes now
install the prebuilt program and font tarballs. State in the READMEs and
guides that the native API exists only on the feat/native-api branch of
Glassyiris/honk, and show a clear message when an engine answers 404 for
both discovery and capabilities instead of asking for a token.

Report the page language to the service worker only after it activates,
so an updated build keeps the language for offline start. Keep secondary
facts on a caption line under card values, keep cards in a row equal in
height, lay the capabilities list out in columns, frost sticky headers and
overlays in the glass palette, and fit Overview, DNS and the routing map on
tablets and phones. Localize backend datapath errors and the rule editor's
must switch.

List events received before the Events page opened. Fill the mock
backend with realistic connections, DNS records, logs, events, notices
and history for the public demo, with traffic shaped by destination.
Link the demo from the READMEs and refresh the screenshots.
2026-09-24 14:27:28 +10:00

42 lines
1.4 KiB
Makefile

# Packagers' entry points. `make build` needs the dependencies installed (`make deps`, offline with a store);
# `make install` copies the built files, `make install-fonts` the optional
# Noto Sans TC/SC. Both honour DESTDIR and PREFIX.
PREFIX ?= /usr
DESTDIR ?=
DATADIR = $(DESTDIR)$(PREFIX)/share/doona
DOCDIR = $(DESTDIR)$(PREFIX)/share/doc/doona
INSTALL ?= install
.PHONY: deps build check install install-fonts package
deps:
pnpm install --frozen-lockfile --offline || pnpm install --frozen-lockfile
build:
pnpm build
check:
pnpm check
# Everything in dist/ except the fonts and the Vite build manifest, plus the licence and notices.
install:
@test -f dist/index.html || { echo 'run make build first' >&2; exit 1; }
find dist \( -path dist/fonts -o -path dist/.vite \) -prune -o -type f -print | while read -r f; do \
$(INSTALL) -Dm644 "$$f" "$(DATADIR)/$${f#dist/}" || exit 1; \
done
$(INSTALL) -Dm644 LICENSE "$(DOCDIR)/LICENSE"
$(INSTALL) -Dm644 NOTICE "$(DOCDIR)/NOTICE"
$(INSTALL) -Dm644 LICENSES/Apache-2.0.txt "$(DOCDIR)/LICENSES/Apache-2.0.txt"
$(INSTALL) -Dm644 README.md "$(DOCDIR)/README.md"
$(INSTALL) -Dm644 CHANGELOG.md "$(DOCDIR)/CHANGELOG.md"
install-fonts:
@test -d dist/fonts || { echo 'run make build first' >&2; exit 1; }
find dist/fonts -type f | while read -r f; do \
$(INSTALL) -Dm644 "$$f" "$(DATADIR)/$${f#dist/}" || exit 1; \
done
$(INSTALL) -Dm644 public/fonts/OFL.txt "$(DOCDIR)/OFL.txt"
package:
tools/package.sh