-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (27 loc) · 720 Bytes
/
Makefile
File metadata and controls
42 lines (27 loc) · 720 Bytes
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
35
36
37
38
39
40
41
42
PANDOC ?= pandoc
TAR ?= tar
PACKAGE := drylib
VERSION := $(shell cat VERSION)
SOURCES := $(wildcard .drypackage */.drymodule */*/.drymodule */*/*/.drymodule */*.dry */*/*.dry */*/*/*.dry)
TARGETS := $(PACKAGE)-$(VERSION).tar.xz
%.html: %.rst
$(PANDOC) -o $@ -t html5 -s $<
all: build
$(PACKAGE)-$(VERSION).tar.xz: $(SOURCES)
$(TAR) -cvJf $@ $^
build: $(TARGETS)
check:
@echo "not implemented"; exit 2 # TODO
dist:
@echo "not implemented"; exit 2 # TODO
install:
@echo "not implemented"; exit 2 # TODO
uninstall:
@echo "not implemented"; exit 2 # TODO
clean:
@rm -f *~ $(TARGETS)
distclean: clean
mostlyclean: clean
.PHONY: check dist install clean distclean mostlyclean
.SECONDARY:
.SUFFIXES: