Feedr/Makefile
2024-11-28 10:46:39 +02:00

18 lines
594 B
Makefile

INSTALL = /bin/install -c
DESTDIR =
PREFIX = /usr/local
BINDIR = /bin
CSSDIR = /share/feedr/css
XSLDIR = /share/feedr/xsl
all: install
install:
mkdir -p $(DESTDIR)$(CSSDIR)
mkdir -p $(DESTDIR)$(XSLDIR)
$(INSTALL) -m644 css/* $(DESTDIR)$(PREFIX)$(CSSDIR)/
$(INSTALL) -m644 xsl/* $(DESTDIR)$(PREFIX)$(XSLDIR)/
$(INSTALL) -m644 LICENSE $(DESTDIR)$(PREFIX)/share/licenses/feedr/
$(INSTALL) -m644 README.md $(DESTDIR)$(PREFIX)/share/doc/feedr/
$(INSTALL) -m755 feedr.desktop $(DESTDIR)$(PREFIX)/share/applications/feedr.desktop
$(INSTALL) -m755 feedr.sh $(DESTDIR)$(PREFIX)$(BINDIR)/feedr