~chrisppy/hare-rss

hare-rss/Makefile -rw-r--r-- 610 bytes
2fc2dfa0Chris Palmer Add status to readme 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.POSIX:
.SUFFIXES:
HARE=hare
HAREFLAGS=
HAREDOC=haredoc

DESTDIR=
PREFIX=/usr/local
SRCDIR=$(PREFIX)/src
HARESRCDIR=$(SRCDIR)/hare
THIRDPARTYDIR=$(HARESRCDIR)/third-party

all: 
	@true # no-op

docs:
	mkdir -p docs/format/rss
	$(HAREDOC) -Fhtml format > docs/format/index.html
	$(HAREDOC) -Fhtml format::rss > docs/format/rss/index.html

check:
	$(HARE) test

clean:
	rm -rf docs

install:
	mkdir -p $(DESTDIR)$(THIRDPARTYDIR)/format/rss
	install -m644 format/rss/* $(DESTDIR)$(THIRDPARTYDIR)/format/rss

uninstall:
	rm -rf $(DESTDIR)$(THIRDPARTYDIR)/format/rss

.PHONY: all docs clean check install uninstall