File: Makefile

package info (click to toggle)
cctools 1%3A7.15.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 40,008 kB
  • sloc: ansic: 117,215; python: 30,569; cpp: 20,301; sh: 13,834; perl: 4,056; xml: 3,688; makefile: 1,502
file content (48 lines) | stat: -rw-r--r-- 1,224 bytes parent folder | download | duplicates (2)
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
43
44
45
46
47
48
include ../config.mk

all: ${CCTOOLS_DOCTARGETS}

htmlpages manpages mdpages:
	$(MAKE) -C man $@

apiperl: manuals/api/html/work_queue_perl.html manuals/api/html/work_queue_task_perl.html manuals/api/html/chirp_client_perl.html manuals/api/html/chirp_stat_perl.html

apipages: manuals/api/html/index.html

manuals/api/html/index.html:
	mkdir -p manuals/api/html
	doxygen api/cctools.doxygen.config

manuals/api/html/work_queue_perl.html:
	mkdir -p manuals/api/html
	pod2html ../work_queue/src/bindings/perl/Work_Queue.pm > $@
	@rm -f pod2htm*.tmp

manuals/api/html/work_queue_task_perl.html:
	mkdir -p manuals/api/html
	pod2html ../work_queue/src/bindings/perl/Work_Queue/Task.pm > $@
	@rm -f pod2htm*.tmp

manuals/api/html/chirp_client_perl.html:
	mkdir -p manuals/api/html
	pod2html ../chirp/src/bindings/perl/Chirp/Client.pm > $@
	@rm -f pod2htm*.tmp

manuals/api/html/chirp_stat_perl.html:
	mkdir -p manuals/api/html
	pod2html ../chirp/src/bindings/perl/Chirp/Stat.pm > $@
	@rm -f pod2htm*.tmp


install: all
	mkdir -p $(CCTOOLS_INSTALL_DIR)/doc/cctools
	cp -a manuals $(CCTOOLS_INSTALL_DIR)/doc/cctools
	$(MAKE) -C man install

test:

clean:
	rm -rf manuals/api *~
	$(MAKE) -C man clean

.PHONY: all clean install test