build: migrate from make to just
This commit is contained in:
parent
d8e4683be8
commit
af025856c7
5 changed files with 157 additions and 70 deletions
12
debian/rules
vendored
12
debian/rules
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue