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
Raw Normal View History

2024-02-14 21:05:09 +00:00
DESTDIR = /usr/bin
2024-02-15 19:06:54 +00:00
SHAREDIR = /usr/share
2024-02-14 19:28:06 +00:00
.PHONY: all clean
2024-02-29 18:16:43 +00:00
all: burgernotes
2024-02-14 19:28:06 +00:00
2024-04-25 07:37:16 +01:00
burgernotes:
go build
2024-02-14 19:28:06 +00:00
clean:
2024-04-25 07:37:16 +01:00
rm -f burgernotes-app
2024-02-14 21:05:09 +00:00
2024-02-29 18:16:43 +00:00
install: burgernotes
2024-02-14 21:05:09 +00:00
mkdir -p $(DESTDIR)
2024-04-25 07:37:16 +01:00
cp burgernotes-app $(SHAREDIR)/burgernotes
2024-02-29 18:16:43 +00:00
ln -sf $(SHAREDIR)/burgernotes/burgernotes $(DESTDIR)/burgernotes
2024-02-25 16:04:47 +00:00
mkdir -p $(SHAREDIR)/icons/hicolor/scalable/apps/
2024-02-15 19:06:54 +00:00
mkdir -p $(SHAREDIR)/applications/
2024-02-15 19:12:11 +00:00
mkdir -p $(SHAREDIR)/metainfo/
2024-02-29 18:16:43 +00:00
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/
2024-02-29 19:01:15 +00:00
cp -r website $(SHAREDIR)/burgernotes/website
2024-04-25 07:37:16 +01:00
cp createwebsite.sh $(SHAREDIR)/burgernotes/