You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
753 B
25 lines
753 B
PREFIX?=${HOME}/.local
|
|
BINDIR?=$(PREFIX)/bin
|
|
SITEDIR?=$(BINDIR)/nativefier
|
|
SHAREDIR?=$(PREFIX)/share/mknative
|
|
ICONDIR?=$(SHAREDIR)/icons
|
|
|
|
RM?=rm -f
|
|
|
|
help:
|
|
@echo 'Makefile for mknative '
|
|
@echo ' '
|
|
@echo ' install '
|
|
@echo ' uninstall '
|
|
|
|
install:
|
|
mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(SITEDIR) $(DESTDIR)$(ICONDIR)
|
|
install -m755 sh/mknative $(DESTDIR)$(BINDIR)/mknative
|
|
install -m755 sh/runnative $(DESTDIR)$(BINDIR)/runnative
|
|
install -m755 icons/* $(DESTDIR)$(ICONDIR)
|
|
|
|
uninstall:
|
|
$(RM) $(DESTDIR)$(BINDIR)/mknative
|
|
$(RM) $(DESTDIR)$(BINDIR)/runnative
|
|
|
|
.DEFAULT_GOAL := help
|
|
|