aboutsummaryrefslogtreecommitdiff
path: root/gnunet-dht-block-types/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnunet-dht-block-types/Makefile')
-rw-r--r--gnunet-dht-block-types/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnunet-dht-block-types/Makefile b/gnunet-dht-block-types/Makefile
new file mode 100644
index 0000000..7ac5f54
--- /dev/null
+++ b/gnunet-dht-block-types/Makefile
@@ -0,0 +1,28 @@
1FILES=gnunet_dht_block_types.h gnunet_dht_block_types.rst
2all: check $(FILES)
3
4check:
5 recfix --check registry.rec
6
7distclean:
8 rm -f *.tmp
9clean:
10 rm -f $(FILES) *.tmp
11
12gnunet_dht_block_types.h.tmp: registry.rec h.template
13 ../format.sh h.template < registry.rec > $@
14
15gnunet_dht_block_types.h: h.header gnunet_dht_block_types.h.tmp h.footer
16 cat h.header gnunet_dht_block_types.h.tmp h.footer > $@
17
18gnunet_dht_block_types.rst.tmp: registry.rec rst.template
19 ../format.sh rst.template < registry.rec > $@
20
21rst.header.tmp:
22 cat README POLICY rst.header.template > $@
23
24gnunet_dht_block_types.rst: rst.header.tmp gnunet_dht_block_types.rst.tmp rst.footer
25 cat rst.header.tmp gnunet_dht_block_types.rst.tmp rst.footer > $@
26
27
28.PHONY: check clean distclean