pop-launcher/debian/rules
Michael Aaron Murphy 8b3b95aae8 Initial Release
2021-08-13 19:18:05 +02:00

24 lines
No EOL
468 B
Makefile
Executable file

#!/usr/bin/make -f
export VENDOR ?= 1
CLEAN ?= 1
DESTDIR=debian/tmp
%:
dh $@ --with=systemd
override_dh_auto_clean:
ifeq ($(CLEAN),1)
make clean
endif
ifeq ($(VENDOR),1)
if ! ischroot; then make vendor; fi
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/plugins/**/*.js
chmod +x debian/pop-launcher/usr/lib/pop-launcher/scripts/*.sh