24 lines
No EOL
471 B
Makefile
Executable file
24 lines
No EOL
471 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
|