mirror of
https://github.com/koreader/koreader.git
synced 2026-06-24 12:21:49 +02:00
b175c972fb
Cf. koreader/kobase#2298. The `linux` update target now build an AppImage too. Other miscellaneous changes: - AppImage: * better icons * update filename to conform to spec (`ApplicationName-$VERSION-$ARCH.AppImage`) * running from extracted contents will behave like the Linux distribution (multi-user mode) - Debian package: * better icons * update version to include git commit * drop fakeroot requirement for building * fix dependencies (based on our targeted Ubuntu LTS: 22.04, AKA Jammy) - Linux distribution: * better icons * improved start-up script (can be symlinked to)
16 lines
564 B
Makefile
16 lines
564 B
Makefile
DEBIAN_ARCH_x86_64 = amd64
|
|
DEBIAN_ARCH = $(or $(DEBIAN_ARCH_$(LINUX_ARCH)),$(LINUX_ARCH))
|
|
# v2025.10-197-g7c5ee9c1a2_2026-03-13 → 2025.10-197-g7c5ee9c1a2-1
|
|
DEBIAN_VERSION = $(word 1,$(subst _, ,$(VERSION:v%=%)))-1
|
|
DEBIAN_PACKAGE = koreader_$(DEBIAN_VERSION)_$(DEBIAN_ARCH).deb
|
|
DEBIAN_PACKAGE_COMPRESSION ?= -Zxz -z9
|
|
|
|
update-deb: all
|
|
$(call mkupdate_linux,$(INSTALL_DIR)/deb)
|
|
# Generate the package.
|
|
$(LINUX_DIR)/do_debian_package.sh $(DEBIAN_PACKAGE) $(INSTALL_DIR)/deb $(DEBIAN_PACKAGE_COMPRESSION)
|
|
# Cleanup.
|
|
rm -rf $(INSTALL_DIR)/deb
|
|
|
|
update: update-deb
|