Private
Public Access
1
0

gtk: add Makefile for making rpm

This commit is contained in:
2025-09-07 18:32:57 -07:00
parent f09f45a66f
commit 469fd8fa13
2 changed files with 16 additions and 2 deletions

14
gtk/Makefile Normal file
View File

@@ -0,0 +1,14 @@
all: setup
ninja -C build
setup: build/
meson build
VER := 1.0.2
TMP := $(shell mktemp -d)
rpm:
git -C .. archive --format=tar.gz --prefix=kordophone/ -o $(TMP)/v$(VER).tar.gz HEAD
rpmbuild -ba dist/rpm/kordophone.spec --define "_sourcedir $(TMP)"