pop-launcher/debian/rules

23 lines
422 B
Text
Raw Normal View History

2021-08-10 01:04:20 +02:00
#!/usr/bin/make -f
export VENDOR ?= 1
CLEAN ?= 1
DESTDIR=debian/tmp
%:
dh $@ --with=systemd
override_dh_auto_clean:
ifeq ($(CLEAN),1)
2021-08-16 14:29:32 +02:00
ischroot && make clean || make distclean
2021-08-10 01:04:20 +02:00
endif
ifeq ($(VENDOR),1)
2021-08-16 14:29:32 +02:00
ischroot || make vendor
2021-08-10 01:04:20 +02:00
endif
override_dh_auto_build:
CARGO_HOME="$$(pwd)/target/cargo" make DESTDIR=$(DESTDIR)
override_dh_fixperms:
dh_fixperms
chmod +x debian/pop-launcher/usr/lib/pop-launcher/scripts/**/*.sh