Files

28 lines
633 B
Makefile
Executable File

#!/usr/bin/make -f
STARTURL ?= https://updates.safing.io/latest/linux_amd64/start/portmaster-start\?CI
.PHONY: icons
# We don't build here, we download the built binaries
build: icons portmaster-start
%:
dh $@
#portmaster.png:
# convert logo.png -resize 32x32 portmaster.png
icons:
for res in 16 32 48 96 128 ; do \
mkdir -p icons/$$res ; \
convert ./portmaster_logo.png -resize $${res}x$${res} icons/$${res}/portmaster.png ; \
done
portmaster-start:
curl --fail --user-agent GitHub -o portmaster-start $(STARTURL)
#Don't run strip for go-binaries
override_dh_strip:
override_dh_installsystemd:
dh_installsystemd -r