1 # This file generates all of man/html pages that we use for documentation.
3 # When hacking this file you need to know that we take .pod files and turn
4 # them into .pop files. .pop files are 1=1 for man pages, but one .pod
5 # file may generate many .pop files.
10 CLEANFILES= *.1 *.3 *.html *.pop *.tmp
14 EXTRA_DIST= make_index.pl
17 memcached_increment.pop \
18 memcached_increment_with_initial.pop \
19 memcached_decrement.pop \
20 memcached_decrement_with_initial.pop
21 BUILT_SOURCES += ${AUTO_PAGES}
24 memcached_behavior_get.pop \
25 memcached_behavior_set.pop
26 BUILT_SOURCES += ${BEHAVIOR_PAGES}
29 memcached_callback_get.pop \
30 memcached_callback_set.pop
31 BUILT_SOURCES += ${CALLBACK_PAGES}
35 memcached_create.pop \
37 memcached_servers_reset.pop
38 BUILT_SOURCES += ${CREATE_PAGES}
41 memcached_delete.pop \
42 memcached_delete_by_key.pop
43 BUILT_SOURCES += ${DELETE_PAGES}
47 libmemcached_examples.pop \
48 libmemcachedutil.pop \
49 memcached_analyze.pop \
52 memcached_flush_buffers.pop \
53 memcached_generate_hash_value.pop \
55 memcached_strerror.pop \
56 memcached_verbosity.pop \
66 BUILT_SOURCES += ${GENERIC_PAGES}
70 memcached_get_by_key.pop \
71 memcached_fetch_result.pop \
72 memcached_fetch_execute.pop \
74 memcached_mget_by_key.pop \
75 memcached_mget_execute.pop \
76 memcached_mget_execute_by_key.pop \
78 BUILT_SOURCES += ${GET_PAGES}
80 MEMORY_ALLOCATORS_PAGES= \
81 memcached_get_memory_allocators.pop \
82 memcached_set_memory_allocators.pop \
83 memcached_set_memory_allocators_context.pop
84 BUILT_SOURCES += ${MEMORY_ALLOCATORS_PAGES}
87 memcached_pool_behavior_get.pop \
88 memcached_pool_behavior_set.pop \
89 memcached_pool_create.pop \
90 memcached_pool_destroy.pop \
91 memcached_pool_pop.pop \
92 memcached_pool_push.pop
93 BUILT_SOURCES += ${POOL_PAGES}
96 memcached_result_cas.pop \
97 memcached_result_create.pop \
98 memcached_result_flags.pop \
99 memcached_result_free.pop \
100 memcached_result_key_length.pop \
101 memcached_result_key_value.pop \
102 memcached_result_length.pop \
103 memcached_result_st.pop \
104 memcached_result_value.pop
105 BUILT_SOURCES += ${RESULT_PAGES}
109 memcached_server_count.pop \
110 memcached_server_cursor.pop \
111 memcached_server_list.pop \
112 memcached_server_add.pop \
113 memcached_server_add_unix_socket.pop \
114 memcached_server_push.pop
115 BUILT_SOURCES += ${SERVER_PAGES}
118 memcached_server_list_free.pop \
119 memcached_server_list_count.pop \
120 memcached_server_list_append.pop \
121 memcached_servers_parse.pop
122 BUILT_SOURCES += ${SERVER_ST_PAGES}
126 memcached_set_by_key.pop \
128 memcached_cas_by_key.pop \
129 memcached_replace.pop \
130 memcached_replace_by_key.pop \
132 memcached_add_by_key.pop \
133 memcached_prepend.pop \
134 memcached_prepend_by_key.pop \
135 memcached_append.pop \
136 memcached_append_by_key.pop
137 BUILT_SOURCES += ${SET_PAGES}
141 memcached_stat_get_keys.pop .pop\
142 memcached_stat_get_value.pop \
143 memcached_stat_servername.pop
144 BUILT_SOURCES += ${STATS_PAGES}
147 memcached_get_user_data.pop \
148 memcached_set_user_data.pop
149 BUILT_SOURCES += ${USER_DATA_PAGES}
152 memcached_version.pop \
153 memcached_lib_version.pop
154 BUILT_SOURCES += ${VERSION_PAGES}
158 # These are for libhashkit
160 HASHKIT_CREATE_PAGES= \
161 hashkit_is_allocated.pop \
165 BUILT_SOURCES += ${HASHKIT_CREATE_PAGES}
167 HASHKIT_FUNCTIONS_PAGES= \
169 hashkit_fnv1_32.pop \
170 hashkit_fnv1_64.pop \
171 hashkit_fnv1a_32.pop \
172 hashkit_fnv1a_64.pop \
173 hashkit_functions.pop \
175 hashkit_jenkins.pop \
178 BUILT_SOURCES += ${HASHKIT_FUNCTIONS_PAGES}
182 BUILT_SOURCES += ${HASHKIT_ST_PAGES}
188 hashkit_create.html \
189 hashkit_fnv1_32.html \
190 hashkit_fnv1_64.html \
191 hashkit_fnv1a_32.html \
192 hashkit_fnv1a_64.html \
194 hashkit_functions.html \
196 hashkit_is_allocated.html \
197 hashkit_jenkins.html \
199 hashkit_murmur.html \
201 libmemcached_examples.html \
203 libmemcachedutil.html \
204 memcached_add_by_key.html \
206 memcached_analyze.html \
207 memcached_append_by_key.html \
208 memcached_append.html \
209 memcached_behavior_get.html \
210 memcached_behavior_set.html \
211 memcached_callback_get.html \
212 memcached_callback_set.html \
213 memcached_cas_by_key.html \
215 memcached_clone.html \
216 memcached_create.html \
217 memcached_decrement.html \
218 memcached_decrement_with_initial.html \
219 memcached_delete_by_key.html \
220 memcached_delete.html \
221 memcached_dump.html \
222 memcached_fetch_execute.html \
223 memcached_fetch.html \
224 memcached_fetch_result.html \
225 memcached_flush_buffers.html \
226 memcached_flush.html \
227 memcached_free.html \
228 memcached_generate_hash_value.html \
229 memcached_get_by_key.html \
230 memcached_get_memory_allocators.html \
232 memcached_get_user_data.html \
233 memcached_increment.html \
234 memcached_increment_with_initial.html \
235 memcached_lib_version.html \
236 memcached_mget_by_key.html \
237 memcached_mget_execute_by_key.html \
238 memcached_mget_execute.html \
239 memcached_mget.html \
240 memcached_pool_behavior_get.html \
241 memcached_pool_behavior_set.html \
242 memcached_pool_create.html \
243 memcached_pool_destroy.html \
244 memcached_pool_pop.html \
245 memcached_pool_push.html \
246 memcached_prepend_by_key.html \
247 memcached_prepend.html \
248 memcached_quit.html \
249 memcached_replace_by_key.html \
250 memcached_replace.html \
251 memcached_result_cas.html \
252 memcached_result_create.html \
253 memcached_result_flags.html \
254 memcached_result_free.html \
255 memcached_result_key_length.html \
256 memcached_result_key_value.html \
257 memcached_result_length.html \
258 memcached_result_st.html \
259 memcached_result_value.html \
260 memcached_server_add.html \
261 memcached_server_add_unix_socket.html \
262 memcached_server_count.html \
263 memcached_server_cursor.html \
264 memcached_server_list_append.html \
265 memcached_server_list_count.html \
266 memcached_server_list_free.html \
267 memcached_server_list.html \
268 memcached_server_push.html \
269 memcached_servers_parse.html \
270 memcached_set_by_key.html \
271 memcached_set_memory_allocators.html \
273 memcached_set_user_data.html \
274 memcached_stat_get_keys.html \
275 memcached_stat_get_value.html \
276 memcached_stat.html \
277 memcached_stat_servername.html \
278 memcached_strerror.html \
279 memcached_verbosity.html \
280 memcached_version.html \
293 hashkit_functions.pod \
296 libmemcached_examples.pod \
297 libmemcachedutil.pod \
298 memcached_analyze.pod \
300 memcached_behavior.pod \
301 memcached_callback.pod \
302 memcached_create.pod \
303 memcached_delete.pod \
305 memcached_flush.pod \
306 memcached_flush_buffers.pod \
307 memcached_generate_hash_value.pod \
309 memcached_memory_allocators.pod \
312 memcached_result_st.pod \
314 memcached_server_st.pod \
315 memcached_servers.pod \
317 memcached_stats.pod \
318 memcached_strerror.pod \
319 memcached_user_data.pod \
320 memcached_verbosity.pod \
321 memcached_version.pod \
331 EXTRA_DIST+= $(POD_FILES)
342 hashkit_functions.3 \
344 hashkit_is_allocated.3 \
350 libmemcached_examples.3 \
352 memcached_add_by_key.3 \
353 memcached_analyze.3 \
355 memcached_append_by_key.3 \
356 memcached_behavior_get.3 \
357 memcached_behavior_set.3 \
358 memcached_callback_get.3 \
359 memcached_callback_set.3 \
361 memcached_cas_by_key.3 \
364 memcached_decrement.3 \
365 memcached_decrement_with_initial.3 \
367 memcached_delete_by_key.3 \
370 memcached_fetch_execute.3 \
371 memcached_fetch_result.3 \
372 memcached_flush_buffers.3 \
374 memcached_generate_hash_value.3 \
376 memcached_get_by_key.3 \
377 memcached_get_memory_allocators.3 \
378 memcached_get_user_data.3 \
379 memcached_increment.3 \
380 memcached_increment_with_initial.3 \
381 memcached_lib_version.3 \
383 memcached_mget_by_key.3 \
384 memcached_mget_execute.3 \
385 memcached_mget_execute_by_key.3 \
386 memcached_prepend.3 \
387 memcached_prepend_by_key.3 \
389 memcached_replace.3 \
390 memcached_replace_by_key.3 \
391 memcached_server_add.3 \
392 memcached_server_count.3 \
393 memcached_server_cursor.3 \
394 memcached_server_list.3 \
395 memcached_server_list_append.3 \
396 memcached_server_list_count.3 \
397 memcached_server_list_free.3 \
398 memcached_server_push.3 \
399 memcached_servers_parse.3 \
401 memcached_set_by_key.3 \
402 memcached_set_memory_allocators.3 \
403 memcached_set_user_data.3 \
405 memcached_stat_get_keys.3 \
406 memcached_stat_get_value.3 \
407 memcached_stat_servername.3 \
408 memcached_strerror.3 \
409 memcached_verbosity.3 \
410 memcached_version.3 \
422 POD_FILES+= memcached_sasl.pod
424 memcached_destroy_sasl_auth_data.3 \
425 memcached_get_sasl_callbacks.3 \
426 memcached_sasl_set_auth_data.3 \
427 memcached_set_sasl_callbacks.3
430 memcached_destroy_sasl_auth_data.html \
431 memcached_get_sasl_callbacks.html \
432 memcached_sasl_set_auth_data.html \
433 memcached_set_sasl_callbacks.html
437 memcached_destroy_sasl_auth_data.pop \
438 memcached_get_sasl_callbacks.pop \
439 memcached_sasl_set_auth_data.pop \
440 memcached_set_sasl_callbacks.pop
441 BUILT_SOURCES += ${SASL_PAGES}
445 ln -s ${top_srcdir}/docs/memcached_sasl.pod ${top_builddir}/docs/$@
449 if BUILD_LIBMEMCACHEDUTIL
452 memcached_pool_behavior_set.3 \
453 memcached_pool_behavior_get.3 \
454 memcached_pool_create.3 \
455 memcached_pool_destroy.3 \
456 memcached_pool_push.3 \
463 ln -s ${top_srcdir}/docs/memcached_create.pod ${top_builddir}/docs/$@
467 ln -s ${top_srcdir}/docs/memcached_set.pod ${top_builddir}/docs/$@
471 ln -s ${top_srcdir}/docs/memcached_delete.pod ${top_builddir}/docs/$@
475 ln -s ${top_srcdir}/docs/memcached_auto.pod ${top_builddir}/docs/$@
479 ln -s ${top_srcdir}/docs/memcached_get.pod ${top_builddir}/docs/$@
483 ln -s ${top_srcdir}/docs/memcached_servers.pod ${top_builddir}/docs/$@
487 ln -s ${top_srcdir}/docs/memcached_server_st.pod ${top_builddir}/docs/$@
491 ln -s ${top_srcdir}/docs/$*.pod ${top_builddir}/docs/$@
495 ln -s ${top_srcdir}/docs/memcached_behavior.pod ${top_builddir}/docs/$@
499 ln -s ${top_srcdir}/docs/memcached_callback.pod ${top_builddir}/docs/$@
503 ln -s ${top_srcdir}/docs/memcached_stats.pod ${top_builddir}/docs/$@
507 ln -s ${top_srcdir}/docs/memcached_result_st.pod ${top_builddir}/docs/$@
511 ln -s ${top_srcdir}/docs/memcached_version.pod ${top_builddir}/docs/$@
513 ${MEMORY_ALLOCATORS_PAGES}:
515 ln -s ${top_srcdir}/docs/memcached_memory_allocators.pod ${top_builddir}/docs/$@
519 ln -s ${top_srcdir}/docs/memcached_user_data.pod ${top_builddir}/docs/$@
523 ln -s ${top_srcdir}/docs/memcached_pool.pod ${top_builddir}/docs/$@
525 ${HASHKIT_CREATE_PAGES}:
527 ln -s ${top_srcdir}/docs/hashkit_create.pod ${top_builddir}/docs/$@
530 ${HASHKIT_FUNCTIONS_PAGES}:
532 ln -s ${top_srcdir}/docs/hashkit_functions.pod ${top_builddir}/docs/$@
536 ln -s ${top_srcdir}/docs/hashkit_value.pod ${top_builddir}/docs/$@
538 test-docs: $(POD_FILES)
539 ${PODCHECKER} $(top_srcdir)/docs/$?
541 html-local: html-pages html-index
543 html-pages: $(HTML_FILES)
545 html-index: html-pages
546 perl make_index.pl *.html > index.html
548 SUFFIXES= .pop .pod .html .1 .3
553 pod2html --infile=$< > $@
556 ${POD2MAN} -c "$*" -r "" -s 1 $< > $@
559 ${POD2MAN} -c "$*" -r "" -s 3 $< > $@