File: Makefile

package info (click to toggle)
hnb 1.9.18%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,680 kB
  • sloc: ansic: 8,117; makefile: 114
file content (28 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/make -f

.PHONY: all clean distclean doc doc-dev

DOC = Documentation.html
DOCDEV = xml_states.ps cli_tokenize.ps

all: doc doc-dev
xml_states.ps: ../src/xml.dot
libcli/cli_tokenize.ps: ../src/libcli/cli_tokenize.dot

doc: $(DOC)
doc-dev: $(DOCDEV)

clean:
	$(RM) $(DOC)

distclean: clean
	$(RM) $(DOCDEV)

%.ps:
	dot -Tps $^ > $@

%.html:
	../src/hnb -rc /dev/null $(basename $@).hnb -e "go root" "export_htmlcss $@"

%.txt:
	../src/hnb -rc /dev/null $(basename $@).hnb -e "go root" "export_ascii $@"