File: maintMakefile

package info (click to toggle)
namazu2 2.0.21-22
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 7,032 kB
  • sloc: ansic: 14,161; perl: 10,789; sh: 9,355; lisp: 1,147; makefile: 914
file content (67 lines) | stat: -rw-r--r-- 1,874 bytes parent folder | download | duplicates (9)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
## for MAINTAINERS.

update-credits: AUTHORS ../namazu-web/webmasters
	@echo Namazu Project > CREDITS
	@echo >> CREDITS
	@echo Developers >> CREDITS
	@echo >> CREDITS
	@perl -ne 'next if /^\x23/; print "  * $$_"' AUTHORS  >> CREDITS
	@echo >> CREDITS
	@echo Webpage Maintainers >> CREDITS
	@echo >> CREDITS
	@perl -ne 'next if /^\x23/; print "  * $$_"' \
		../namazu-web/webmasters >> CREDITS

snapshot:
	$(MAKE) dist distdir=$(PACKAGE)`date +"-%Y-%m-%d"`


cxref: src/namazu
	if test ! -d cxref; then \
	    $(mkinstalldirs) cxref; \
	fi
	cxref -N namazu -html20-src -I . -I src -I nmz -I lib \
	    -warn-xref -index-all -xref-all -O cxref \
	    nmz/*.[ch] src/*.[ch] lib/*.[ch] 1> cxref/warnings 

	# Two passes are needed for accurate cross referencing.
	cxref -N namazu -html20-src -I . -I src -I nmz -I lib \
	    -warn-xref -index-all -xref-all -O cxref \
	    nmz/*.[ch] src/*.[ch] lib/*.[ch] 1> cxref/warnings 

cxref-latex2e: src/namazu
	if test ! -d cxref-latex2e; then \
	    $(mkinstalldirs) cxref-latex2e; \
	fi
	cxref -N namazu -latex2e -I . -I src -I nmz -I lib \
	    -warn-xref -index-all -xref-all -O cxref-latex2e \
	    nmz/*.[ch] src/*.[ch] lib/*.[ch] 1> cxref-latex2e/warnings 

	# Two passes are needed for accurate cross referencing.
	cxref -N namazu -latex2e -I . -I src -I nmz -I lib \
	    -warn-xref -index-all -xref-all -O cxref-latex2e \
	    nmz/*.[ch] src/*.[ch] lib/*.[ch] 1> cxref-latex2e/warnings 

	cd cxref-latex2e && \
	platex namazu.tex && \
	platex namazu.tex # Two passes are needed for referencing.


update:
	./make_sjis_po
	cd doc && make update-doc
#	cd man && make update-man


global: HTAGS

HTAGS: GTAGS
	htags

# comment out by default because GTAGS support is already included
# in automake 1.5.
#
# GTAGS:
# 	here=`CDPATH=: && cd $(top_builddir) && pwd` \
# 	  && cd $(top_srcdir) \
# 	  && gtags -i $(GTAGS_ARGS) $$here