summary refs log tree commit diff
path: root/doc/zlib/Makefile
blob: 6cfd4a424f82cf1c010aede7bc974c850b3971f9 (plain) (blame)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
PREFIX ?= ~/.local
MANDIR ?= ${PREFIX}/share/man

MAN += adler32.3
MAN += adler32_combine.3
MAN += compress.3
MAN += compressBound.3
MAN += crc32.3
MAN += crc32_combine.3
MAN += deflate.3
MAN += deflateBound.3
MAN += deflateCopy.3
MAN += deflateEnd.3
MAN += deflateGetDictionary.3
MAN += deflateInit.3
MAN += deflateInit2.3
MAN += deflateParams.3
MAN += deflatePending.3
MAN += deflatePrime.3
MAN += deflateReset.3
MAN += deflateSetDictionary.3
MAN += deflateSetHeader.3
MAN += deflateTune.3
MAN += gzbuffer.3
MAN += gzclose.3
MAN += gzdirect.3
MAN += gzeof.3
MAN += gzerror.3
MAN += gzflush.3
MAN += gzfread.3
MAN += gzfwrite.3
MAN += gzgetc.3
MAN += gzgets.3
MAN += gzoffset.3
MAN += gzopen.3
MAN += gzprintf.3
MAN += gzputc.3
MAN += gzputs.3
MAN += gzread.3
MAN += gzseek.3
MAN += gzsetparams.3
MAN += gzungetc.3
MAN += gzwrite.3
MAN += inflate.3
MAN += inflateBack.3
MAN += inflateBackEnd.3
MAN += inflateBackInit.3
MAN += inflateCopy.3
MAN += inflateEnd.3
MAN += inflateGetDictionary.3
MAN += inflateGetHeader.3
MAN += inflateInit.3
MAN += inflateInit2.3
MAN += inflateMark.3
MAN += inflatePrime.3
MAN += inflateReset.3
MAN += inflateSetDictionary.3
MAN += inflateSync.3
MAN += uncompress.3
MAN += zlibCompileFlags.3
MAN += zlibVersion.3

MLINKS += adler32.3 adler32_z.3
MLINKS += compress.3 compress2.3
MLINKS += crc32.3 crc32_z.3
MLINKS += gzclose.3 gzclose_r.3
MLINKS += gzclose.3 gzclose_w.3
MLINKS += gzerror.3 gzclearerr.3
MLINKS += gzopen.3 gzdopen.3
MLINKS += gzseek.3 gzrewind.3
MLINKS += gzseek.3 gztell.3
MLINKS += inflateReset.3 inflateReset2.3
MLINKS += uncompress.3 uncompress2.3

lint:
	mandoc -T lint ${MAN} | grep -v 'referenced manual not found'

install:
	install -d ${MANDIR}/man3
	install -m 644 ${MAN} ${MANDIR}/man3
	set -- ${MLINKS}; while [ -n "$$*" ]; do \
		ln -fs $$1 ${MANDIR}/man3/$$2; shift 2; done

uninstall:
	rm -f ${MAN:%=${MANDIR}/man3/%}
	set -- ${MLINKS}; while [ -n "$$*" ]; do \
		rm -f ${MANDIR}/man3/$$2; shift 2; done
a>Lukas Fleischer Use suffixcmp() from Git instead of reimplementing it. This is a preparation for moving to ends_with() in Git 1.8.6. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-10Refactor cgit_parse_snapshots_mask()Lukas Fleischer Use Git string lists instead of str{spn,cspn,ncmp}() magic. This significantly improves readability. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-10Disallow use of undocumented snapshot delimitersLukas Fleischer Since the introduction of selective snapshot format configuration in dc3c9b5 (allow selective enabling of snapshots, 2007-07-21), we allowed seven different delimiters for snapshot formats, while the documentation has always been clear about spaces being the only valid delimiter: The value is a space-separated list of zero or more of the values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip". Supporting the undocumented delimiters makes the code unnecessarily complex. Remove them. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-10Replace most uses of strncmp() with prefixcmp()Lukas Fleischer This is a preparation for replacing all prefix checks with either strip_prefix() or starts_with() when Git 1.8.6 is released. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-09README: Fix dependenciesLukas Fleischer * Remove the dependency on Git (which can be obtained automatically when building, using either the Git submodule or `make get-git`). * Use proper upstream names of dependencies. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08README: Spelling and formatting fixesLukas Fleischer * Several small spelling and capitalization fixes. * Use consistent and better-looking formatting that is compatible with AsciiDoc (and partly compatible with RST). Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08Fix UTF-8 with syntax-highlighting.pyPřemysl Janouch Previously the script tried to encode output from Pygments with the ASCII codec, which failed. Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08Add a suggestion to the manpagePřemysl Janouch So that people wishing to use "enable-http-clone" don't have to find out the correct settings on their own. Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08Fix the example configurationPřemysl Janouch "enable-git-clone" doesn't exist, replaced with "enable-http-clone". Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08Fix about-formatting.shPřemysl Janouch dash failed to parse the script. Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08Fix some spelling errorsPřemysl Janouch Signed-off-by: Přemysl Janouch <p.janouch@gmail.com> 2014-01-08filters: highlight.sh: add css comments for highlight 2.6 and 3.8Ferry Huberts