This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
burgernotes-app/Makefile

26 lines
707 B
Makefile

DESTDIR = /usr/bin
SHAREDIR = /usr/share
.PHONY: all clean
all: burgernotes
burgernotes:
go build
clean:
rm -f burgernotes-app
install: burgernotes
mkdir -p $(DESTDIR)
cp burgernotes-app $(SHAREDIR)/burgernotes
ln -sf $(SHAREDIR)/burgernotes/burgernotes $(DESTDIR)/burgernotes
mkdir -p $(SHAREDIR)/icons/hicolor/scalable/apps/
mkdir -p $(SHAREDIR)/applications/
mkdir -p $(SHAREDIR)/metainfo/
cp org.hectabit.Burgernotes.svg $(SHAREDIR)/icons/hicolor/scalable/apps/
cp org.hectabit.Burgernotes.desktop $(SHAREDIR)/applications/
cp org.hectabit.Burgernotes.metainfo.xml $(SHAREDIR)/metainfo/
cp -r website $(SHAREDIR)/burgernotes/website
cp createwebsite.sh $(SHAREDIR)/burgernotes/