public
Description:
Homepage:
Clone URL: git://github.com/robertkrimen/doc-simply.git
doc-simply / GNUmakefile
100644 34 lines (23 sloc) 0.655 kb
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
.PHONY: all test time clean distclean dist distcheck upload distupload example
 
BUILD := lib/Doc/Simply/Render/HTML/TT.pm
.PHONY: lib/Doc/Simply/Render/HTML/TT.pm
 
all: $(BUILD) test
 
lib/Doc/Simply/Render/HTML/TT.pm: assets/tt/TT.pm assets/tt/*.tt.html assets/css/*
tpage $< | dos2unix > $@
 
example: $(BUILD)
cat example.js | ./script/doc-simply >example.html
cat example.html
 
dist:
rm -rf inc META.y*ml
perl Makefile.PL
$(MAKE) -f Makefile dist
 
install distclean tardist: Makefile
$(MAKE) -f $< $@
 
test: Makefile
TEST_RELEASE=1 $(MAKE) -f $< $@
 
Makefile: Makefile.PL
perl $<
 
clean: distclean
 
reset: clean
perl Makefile.PL
$(MAKE) test