Skip to content
Snippets Groups Projects
Commit c65b02cc authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Re-organize for distrubution build

parent c1a2ba08
No related branches found
No related tags found
No related merge requests found
File moved
File moved
File moved
TARGET=se.lth.control.pip-install-to-json
FLATHUB_REPO="https://flathub.org/repo/flathub.flatpakrepo"
COLLECTION_ID=se.lth.control
STATE_DIR=
REPO=
.PHONY: build
build: setup \
pip+wheel.json
flatpak-builder --force-clean build $(TARGET).json
flatpak-builder --force-clean \
${COLLECTION_ID:%=--collection-id %} \
${STATE_DIR:%=--state-dir %} \
${REPO:%=--repo %} \
build $(TARGET).json
PHONY: install
install: build
flatpak-builder --user --install --force-clean build/ $(TARGET).json
.PHONY: uninstall
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment