build: migrate from make to just

This commit is contained in:
Frederic Laing 2025-12-23 15:10:15 +01:00 • committed by Victoria Brekenfeld
parent d8e4683be8
commit af025856c7
5 changed files with 157 additions and 70 deletions

12
debian/rules vendored
View file

@ -1,6 +1,6 @@
#!/usr/bin/make -f
export sysconfdir = "/usr/share"
DESTDIR = debian/cosmic-comp
export VENDOR ?= 1
CLEAN ?= 1
@ -9,12 +9,18 @@ CLEAN ?= 1
override_dh_auto_clean:
ifeq ($(CLEAN),1)
ischroot && make clean || make distclean
ischroot && just clean || just clean-dist
endif
ifeq ($(VENDOR),1)
ischroot || make vendor
ischroot || just vendor
endif
override_dh_auto_build:
just build-vendored
override_dh_auto_install:
just rootdir=$(DESTDIR) install
override_dh_installinit:
dh_installinit -r