Debian Codegraph @

libs/zziplib/zziplib-src/docs/Makefile.in

raw
1 # Makefile.in generated by automake 1.15.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18 if test -z '$(MAKELEVEL)'; then \
19 false; \
20 elif test -n '$(MAKE_HOST)'; then \
21 true; \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23 true; \
24 else \
25 false; \
26 fi; \
27 }
28 am__make_running_with_option = \
29 case $${target_option-} in \
30 ?) ;; \
31 *) echo "am__make_running_with_option: internal error: invalid" \
32 "target option '$${target_option-}' specified" >&2; \
33 exit 1;; \
34 esac; \
35 has_opt=no; \
36 sane_makeflags=$$MAKEFLAGS; \
37 if $(am__is_gnu_make); then \
38 sane_makeflags=$$MFLAGS; \
39 else \
40 case $$MAKEFLAGS in \
41 *\\[\ \ ]*) \
42 bs=\\; \
43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
45 esac; \
46 fi; \
47 skip_next=no; \
48 strip_trailopt () \
49 { \
50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51 }; \
52 for flg in $$sane_makeflags; do \
53 test $$skip_next = yes && { skip_next=no; continue; }; \
54 case $$flg in \
55 *=*|--*) continue;; \
56 -*I) strip_trailopt 'I'; skip_next=yes;; \
57 -*I?*) strip_trailopt 'I';; \
58 -*O) strip_trailopt 'O'; skip_next=yes;; \
59 -*O?*) strip_trailopt 'O';; \
60 -*l) strip_trailopt 'l'; skip_next=yes;; \
61 -*l?*) strip_trailopt 'l';; \
62 -[dEDm]) skip_next=yes;; \
63 -[JT]) skip_next=yes;; \
64 esac; \
65 case $$flg in \
66 *$$target_option*) has_opt=yes; break;; \
67 esac; \
68 done; \
69 test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 build_triplet = @build@
89 host_triplet = @host@
90 target_triplet = @target@
91 subdir = docs
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_compile_check_sizeof.m4 \
94 $(top_srcdir)/m4/ac_set_default_paths_system.m4 \
95 $(top_srcdir)/m4/ac_sys_largefile_sensitive.m4 \
96 $(top_srcdir)/m4/acx_restrict.m4 \
97 $(top_srcdir)/m4/ax_cflags_gcc_option.m4 \
98 $(top_srcdir)/m4/ax_cflags_no_writable_strings.m4 \
99 $(top_srcdir)/m4/ax_cflags_strict_prototypes.m4 \
100 $(top_srcdir)/m4/ax_cflags_warn_all.m4 \
101 $(top_srcdir)/m4/ax_check_aligned_access_required.m4 \
102 $(top_srcdir)/m4/ax_check_enable_debug.m4 \
103 $(top_srcdir)/m4/ax_create_pkgconfig_info.m4 \
104 $(top_srcdir)/m4/ax_expand_prefix.m4 \
105 $(top_srcdir)/m4/ax_maintainer_mode_auto_silent.m4 \
106 $(top_srcdir)/m4/ax_not_enable_frame_pointer.m4 \
107 $(top_srcdir)/m4/ax_pax_tar.m4 \
108 $(top_srcdir)/m4/ax_prefix_config_h.m4 \
109 $(top_srcdir)/m4/ax_set_version_info.m4 \
110 $(top_srcdir)/m4/ax_spec_file.m4 \
111 $(top_srcdir)/m4/ax_spec_package_version.m4 \
112 $(top_srcdir)/m4/ax_warning_default_aclocaldir.m4 \
113 $(top_srcdir)/m4/ax_warning_default_pkgconfig.m4 \
114 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
115 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
116 $(top_srcdir)/m4/lt~obsolete.m4 \
117 $(top_srcdir)/m4/patch_libtool_on_darwin_zsh_overquoting.m4 \
118 $(top_srcdir)/m4/patch_libtool_sys_lib_search_path_spec.m4 \
119 $(top_srcdir)/m4/patch_libtool_to_add_host_cc.m4 \
120 $(top_srcdir)/configure.ac
121 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
122 $(ACLOCAL_M4)
123 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
124 mkinstalldirs = $(SHELL) $(top_srcdir)/uses/mkinstalldirs
125 CONFIG_HEADER = $(top_builddir)/config.h
126 CONFIG_CLEAN_FILES =
127 CONFIG_CLEAN_VPATH_FILES =
128 AM_V_P = $(am__v_P_@AM_V@)
129 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
130 am__v_P_0 = false
131 am__v_P_1 = :
132 AM_V_GEN = $(am__v_GEN_@AM_V@)
133 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
134 am__v_GEN_0 = @echo " GEN " $@;
135 am__v_GEN_1 =
136 AM_V_at = $(am__v_at_@AM_V@)
137 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
138 am__v_at_0 = @
139 am__v_at_1 =
140 SOURCES =
141 DIST_SOURCES =
142 am__can_run_installinfo = \
143 case $$AM_UPDATE_INFO_DIR in \
144 n|no|NO) false;; \
145 *) (install-info --version) >/dev/null 2>&1;; \
146 esac
147 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
148 am__DIST_COMMON = $(srcdir)/Makefile.in \
149 $(top_srcdir)/uses/mkinstalldirs COPYING.LIB
150 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
151 ACLOCAL = @ACLOCAL@
152 AMTAR = @AMTAR@
153 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
154 AR = @AR@
155 AS = @AS@
156 ASAN_CFLAGS = @ASAN_CFLAGS@
157 ASAN_LIBS = @ASAN_LIBS@
158 AUTOCONF = @AUTOCONF@
159 AUTOHEADER = @AUTOHEADER@
160 AUTOMAKE = @AUTOMAKE@
161 AWK = @AWK@
162 CC = @CC@
163 CCDEPMODE = @CCDEPMODE@
164 CFLAGS = @CFLAGS@
165 CONFIG_FILES = @CONFIG_FILES@
166 CPP = @CPP@
167 CPPFLAGS = @CPPFLAGS@
168 CYGPATH_W = @CYGPATH_W@
169 DEFS = @DEFS@
170 DEPDIR = @DEPDIR@
171 DLLTOOL = @DLLTOOL@
172 DSYMUTIL = @DSYMUTIL@
173 DUMPBIN = @DUMPBIN@
174 ECHO_C = @ECHO_C@
175 ECHO_N = @ECHO_N@
176 ECHO_T = @ECHO_T@
177 EGREP = @EGREP@
178 EXEEXT = @EXEEXT@
179 FGREP = @FGREP@
180 GNUTAR = @GNUTAR@
181 GREP = @GREP@
182 GTAR = @GTAR@
183 INSTALL = @INSTALL@
184 INSTALL_DATA = @INSTALL_DATA@
185 INSTALL_PROGRAM = @INSTALL_PROGRAM@
186 INSTALL_SCRIPT = @INSTALL_SCRIPT@
187 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
188 LARGEFILE_CFLAGS = @LARGEFILE_CFLAGS@
189 LD = @LD@
190 LDFLAGS = @LDFLAGS@
191 LIBOBJS = @LIBOBJS@
192 LIBS = @LIBS@
193 LIBTOOL = @LIBTOOL@
194 LIPO = @LIPO@
195 LN_S = @LN_S@
196 LTLIBOBJS = @LTLIBOBJS@
197 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
198 MAINT = @MAINT@
199 MAKEINFO = @MAKEINFO@
200 MANIFEST_TOOL = @MANIFEST_TOOL@
201 MKDIR_P = @MKDIR_P@
202 MKZIP = @MKZIP@
203 NM = @NM@
204 NMEDIT = @NMEDIT@
205 OBJDUMP = @OBJDUMP@
206 OBJEXT = @OBJEXT@
207 OTOOL = @OTOOL@
208 OTOOL64 = @OTOOL64@
209 PACKAGE = @PACKAGE@
210 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211 PACKAGE_NAME = @PACKAGE_NAME@
212 PACKAGE_STRING = @PACKAGE_STRING@
213 PACKAGE_TARNAME = @PACKAGE_TARNAME@
214 PACKAGE_URL = @PACKAGE_URL@
215 PACKAGE_VERSION = @PACKAGE_VERSION@
216 PATH_SEPARATOR = @PATH_SEPARATOR@
217 PAX = @PAX@
218 PAX_TAR_CREATE = @PAX_TAR_CREATE@
219 PAX_TAR_EXTRACT = @PAX_TAR_EXTRACT@
220 PERL = @PERL@
221 PKG_CONFIG = @PKG_CONFIG@
222 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
223 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
224 PYTHON = @PYTHON@
225 RANLIB = @RANLIB@
226 RELEASE_INFO = @RELEASE_INFO@
227 RESOLVES = @RESOLVES@
228 SDL = @top_srcdir@/SDL
229 SDL_GENERATE = @SDL_GENERATE@
230 SED = @SED@
231 SET_MAKE = @SET_MAKE@
232 SHELL = @SHELL@
233 STRIP = @STRIP@
234 TAR = @TAR@
235 THREAD_SAFE = @THREAD_SAFE@
236 VERSION = @VERSION@
237 VERSION_INFO = @VERSION_INFO@
238 XMLTO = @XMLTO@
239 ZIPTESTS = @ZIPTESTS@
240 ZLIB_INCL = @ZLIB_INCL@
241 ZLIB_LDIR = @ZLIB_LDIR@
242 ZLIB_VERSION = @ZLIB_VERSION@
243 ZZIPLIB_LDFLAGS = @ZZIPLIB_LDFLAGS@
244 abs_builddir = @abs_builddir@
245 abs_srcdir = @abs_srcdir@
246 abs_top_builddir = @abs_top_builddir@
247 abs_top_srcdir = @abs_top_srcdir@
248 ac_ct_AR = @ac_ct_AR@
249 ac_ct_CC = @ac_ct_CC@
250 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
251 aclocaldir = @aclocaldir@
252 am__include = @am__include@
253 am__leading_dot = @am__leading_dot@
254 am__quote = @am__quote@
255 am__tar = @am__tar@
256 am__untar = @am__untar@
257 bindir = @bindir@
258 build = @build@
259 build_alias = @build_alias@
260 build_cpu = @build_cpu@
261 build_os = @build_os@
262 build_vendor = @build_vendor@
263 builddir = @builddir@
264 datadir = @datadir@
265 datarootdir = @datarootdir@
266 docdir = @docdir@
267 dvidir = @dvidir@
268 exec_prefix = @exec_prefix@
269 host = @host@
270 host_alias = @host_alias@
271 host_cpu = @host_cpu@
272 host_os = @host_os@
273 host_vendor = @host_vendor@
274 htmldir = @htmldir@
275 includedir = @includedir@
276 infodir = @infodir@
277 install_sh = @install_sh@
278 libdir = @libdir@
279 libexecdir = @libexecdir@
280 localedir = @localedir@
281 localstatedir = @localstatedir@
282 mandir = @mandir@
283 mkdir_p = @mkdir_p@
284 oldincludedir = @oldincludedir@
285 pdfdir = @pdfdir@
286 pkgconfig_libdir = @pkgconfig_libdir@
287 pkgconfig_libfile = @pkgconfig_libfile@
288 pkgconfigdir = @pkgconfigdir@
289 prefix = @prefix@
290 program_transform_name = @program_transform_name@
291 psdir = @psdir@
292 sbindir = @sbindir@
293 sharedstatedir = @sharedstatedir@
294 srcdir = @srcdir@
295 sysconfdir = @sysconfdir@
296 target = @target@
297 target_alias = @target_alias@
298 target_cpu = @target_cpu@
299 target_os = @target_os@
300 target_vendor = @target_vendor@
301 top_build_prefix = @top_build_prefix@
302 top_builddir = @top_builddir@
303 top_srcdir = @top_srcdir@
304 AUTOMAKE_OPTIONS = 1.4 foreign
305 AUTOTOOL_VERSION = autoconf-2.52 automake-1.5 libtool-1.4.2
306 PYRUN = PYTHONDONTWRITEBYTECODE=1 $(PYDEFS) @PYTHON@ $(PYFLAGS)
307 PLRUN = PERL_DL_NONLAZY=1 $(PLDEFS) @PERL@ $(PLFLAGS)
308 DELETE = echo deleting...
309 doc_FILES = README.MSVC6 README.SDL COPYING.MPL COPYING.LIB COPYING.ZLIB \
310 zziplib.html zzipmmapped.html zzipfseeko.html
311
312 htm_FILES = zzip-index.htm zzip-zip.htm zzip-file.htm zzip-sdl-rwops.htm \
313 zzip-extio.htm zzip-xor.htm zzip-crypt.htm zzip-cryptoid.htm \
314 zzip-api.htm zzip-basics.htm zzip-extras.htm zzip-parse.htm \
315 64on32.htm future.htm fseeko.htm mmapped.htm memdisk.htm \
316 configs.htm sfx-make.htm developer.htm download.htm \
317 history.htm referentials.htm faq.htm copying.htm notes.htm \
318 functions.htm zip-php.htm
319
320 htms_FILES = changes.htm
321 SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \
322 $(SDL)/SDL_rwops_zzip.c $(SDL)/SDL_rwops_zzip.h
323
324 changelog = @top_srcdir@/ChangeLog
325 EXTRA_DIST = make-doc.py $(doc_FILES) $(htm_FILES) $(SDL_RWOPS) \
326 make-doc.pl make-dbk.pl mksite.sh mksite.pl body.htm \
327 dbk2man.py dir2index.py \
328 $(zzipdoc_FILES) sdocbook.css \
329 zziplib-manpages.dbk zziplib-master.dbk \
330 zziplib-manpages.tar
331
332 CLEANFILES = *.pc *.omf *.tar *.html *.xml changes.htm
333 DISTCLEANFILES = zziplib.spec
334 zzipdoc_FILES = makedocs.py zzipdoc/__init__.py \
335 zzipdoc/commentmarkup.py zzipdoc/match.py \
336 zzipdoc/dbk2htm.py zzipdoc/htm2dbk.py \
337 zzipdoc/functionheader.py zzipdoc/options.py \
338 zzipdoc/functionlisthtmlpage.py zzipdoc/textfileheader.py \
339 zzipdoc/functionlistreference.py zzipdoc/textfile.py \
340 zzipdoc/functionprototype.py zzipdoc/htmldocument.py \
341 zzipdoc/docbookdocument.py
342
343 html_FILES = $(htm_FILES:.htm=.html) $(htms_FILES:.htm=.html) \
344 $(htm_FILES:.htm=.print.html) $(htms_FILES:.htm=.print.html) \
345 site.html site.print.html
346
347 omfdir = ${datadir}/omf
348 pkgomfdir = ${omfdir}/${PACKAGE}
349 pkgdocdir = ${mandir}/../doc/${PACKAGE}
350 bins = @top_srcdir@/bins
351 DOCEXAMPLES = $(bins)/zzdir.c $(bins)/zzcat.c \
352 $(bins)/zzobfuscated.c $(bins)/zziptest.c \
353 $(bins)/zzxordir.c $(bins)/zzxorcat.c \
354 $(bins)/zzxorcopy.c $(SDL_RWOPS)
355
356 SOURCEFORGE_GROUP = zziplib
357 SOURCEFORGE_HOST = web.sourceforge.net
358 SOURCEFORGE_PATH = /home/groups/z/zz/zziplib/htdocs
359
360 # --------------------------------------------------------------- OMF handling
361 spec_file = $(top_srcdir)/$(PACKAGE).spec
362 DOCSERIES = 775fb73e-1874-11d7-93e9-e18cd7ea3c2e
363 FROMSPEC = $(spec_file) | head -1 | sed -e 's,<,\&lt;,g' -e 's,>,\&gt;,g'
364 DATESPEC = `date +%Y-%m-%d`
365 DOCBOOKDTD = -//OASIS/DTD Docbook V4.1.2//EN
366 MANSERIES = a302c642-1888-11d7-86f6-ba4b52ef847d
367 mksite_sh_args = --VERSION=$(VERSION) --xml --src-dir=$(srcdir) --print
368 all: all-am
369
370 .SUFFIXES:
371 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
372 @for dep in $?; do \
373 case '$(am__configure_deps)' in \
374 *$$dep*) \
375 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
376 && { if test -f $@; then exit 0; else break; fi; }; \
377 exit 1;; \
378 esac; \
379 done; \
380 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \
381 $(am__cd) $(top_srcdir) && \
382 $(AUTOMAKE) --foreign docs/Makefile
383 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
384 @case '$?' in \
385 *config.status*) \
386 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
387 *) \
388 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
389 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
390 esac;
391
392 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
393 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
394
395 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
396 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
397 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
398 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
399 $(am__aclocal_m4_deps):
400
401 mostlyclean-libtool:
402 -rm -f *.lo
403
404 clean-libtool:
405 -rm -rf .libs _libs
406 tags TAGS:
407
408 ctags CTAGS:
409
410 cscope cscopelist:
411
412
413 distdir: $(DISTFILES)
414 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
415 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
416 list='$(DISTFILES)'; \
417 dist_files=`for file in $$list; do echo $$file; done | \
418 sed -e "s|^$$srcdirstrip/||;t" \
419 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
420 case $$dist_files in \
421 */*) $(MKDIR_P) `echo "$$dist_files" | \
422 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
423 sort -u` ;; \
424 esac; \
425 for file in $$dist_files; do \
426 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
427 if test -d $$d/$$file; then \
428 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
429 if test -d "$(distdir)/$$file"; then \
430 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
431 fi; \
432 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
433 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
434 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
435 fi; \
436 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
437 else \
438 test -f "$(distdir)/$$file" \
439 || cp -p $$d/$$file "$(distdir)/$$file" \
440 || exit 1; \
441 fi; \
442 done
443 check-am: all-am
444 check: check-am
445 all-am: Makefile
446 installdirs:
447 install: install-am
448 install-exec: install-exec-am
449 install-data: install-data-am
450 uninstall: uninstall-am
451
452 install-am: all-am
453 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
454
455 installcheck: installcheck-am
456 install-strip:
457 if test -z '$(STRIP)'; then \
458 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
459 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
460 install; \
461 else \
462 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
463 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
464 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
465 fi
466 mostlyclean-generic:
467
468 clean-generic:
469 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
470
471 distclean-generic:
472 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
473 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
474 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
475
476 maintainer-clean-generic:
477 @echo "This command is intended for maintainers to use"
478 @echo "it deletes files that may require special tools to rebuild."
479 clean: clean-am
480
481 clean-am: clean-generic clean-libtool mostlyclean-am
482
483 distclean: distclean-am
484 -rm -f Makefile
485 distclean-am: clean-am distclean-generic
486
487 dvi: dvi-am
488
489 dvi-am:
490
491 html: html-am
492
493 html-am:
494
495 info: info-am
496
497 info-am:
498
499 install-data-am: install-data-local
500
501 install-dvi: install-dvi-am
502
503 install-dvi-am:
504
505 install-exec-am:
506
507 install-html: install-html-am
508
509 install-html-am:
510
511 install-info: install-info-am
512
513 install-info-am:
514
515 install-man:
516
517 install-pdf: install-pdf-am
518
519 install-pdf-am:
520
521 install-ps: install-ps-am
522
523 install-ps-am:
524
525 installcheck-am:
526
527 maintainer-clean: maintainer-clean-am
528 -rm -f Makefile
529 maintainer-clean-am: distclean-am maintainer-clean-generic
530
531 mostlyclean: mostlyclean-am
532
533 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
534
535 pdf: pdf-am
536
537 pdf-am:
538
539 ps: ps-am
540
541 ps-am:
542
543 uninstall-am:
544
545 .MAKE: install-am install-strip
546
547 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
548 cscopelist-am ctags-am distclean distclean-generic \
549 distclean-libtool distdir dvi dvi-am html html-am info info-am \
550 install install-am install-data install-data-am \
551 install-data-local install-dvi install-dvi-am install-exec \
552 install-exec-am install-html install-html-am install-info \
553 install-info-am install-man install-pdf install-pdf-am \
554 install-ps install-ps-am install-strip installcheck \
555 installcheck-am installdirs maintainer-clean \
556 maintainer-clean-generic mostlyclean mostlyclean-generic \
557 mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
558 uninstall-am
559
560 .PRECIOUS: Makefile
561
562
563 all : all-am default
564 default : doc @MAINTAINER_MODE_FALSE@ mans
565 clean-doc clean-docs : clean-unpack
566 - rm $(DISTCLEANFILES)
567 - rm $(MAINTAINERCLEANFILES)
568 install-data-local : @MAINTAINER_MODE_FALSE@ install-mans
569
570 # -------------------------------------------------------------------
571 zziplib.spec : @top_srcdir@/$(PACKAGE).spec
572 @ cp $? $@ # the two zzip-doc.* will grep through zziplib.spec
573 doc : $(doc_FILES) site.html
574 docs : doc manpages.tar htmpages.tar
575 # docu : docs
576 docu :
577 - rm zziplib2.html zzipmmapped.html zzipfseeko.html
578 $(MAKE) manpages.tar htmpages.tar DELETE=exit
579
580 zziplib.html: zziplib.xml
581 zziplib.xml: zziplib.spec $(srcdir)/Makefile.am \
582 $(srcdir)/zzipdoc/*.py \
583 $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c
584 $(PYRUN) $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c $(zziplib) \
585 "--package=$(PACKAGE)" "--version=$(VERSION)" \
586 "--onlymainheader=zzip/lib.h" "--output=zziplib"
587 test -s zziplib.docbook && mv zziplib.docbook zziplib.xml
588 zzipmmapped.html: zzipmmapped.xml
589 zzipmmapped.xml: zziplib.spec $(srcdir)/Makefile.am \
590 $(srcdir)/zzipdoc/*.py \
591 $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c
592 $(PYRUN) $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c $(zziplib) \
593 "--package=$(PACKAGE)" "--version=$(VERSION)" \
594 "--onlymainheader=zzip/mmapped.h" "--output=zzipmmapped"
595 test -s zzipmmapped.docbook && mv zzipmmapped.docbook zzipmmapped.xml
596 zzipfseeko.html: zzipfseeko.xml
597 zzipfseeko.xml: zziplib.spec $(srcdir)/Makefile.am \
598 $(srcdir)/zzipdoc/*.py \
599 $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c
600 $(PYRUN) $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c $(zziplib) \
601 "--package=$(PACKAGE)" "--version=$(VERSION)" \
602 "--onlymainheader=zzip/fseeko.h" "--output=zzipfseeko"
603 test -s zzipfseeko.docbook && mv zzipfseeko.docbook zzipfseeko.xml
604
605 install-docs: $(doc_FILES) $(man_FILES) site.html htmpages.tar
606 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
607 $(INSTALL_DATA) $(html_FILES) $(DESTDIR)$(pkgdocdir)
608 for i in $(doc_FILES) $(DOCEXAMPLES) $(changelog) $(srcdir)/README.* \
609 ; do $(INSTALL_DATA) `test -f $$i || echo $(srcdir)/`$$i \
610 $(DESTDIR)$(pkgdocdir) ; done
611 cd $(DESTDIR)$(pkgdocdir) && ln -sf zzip-index.html index.html
612 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/man
613 @ echo $(PAX_TAR_EXTRACT) htmpages.tar '>>>' $(DESTDIR)$(pkgdocdir)/man/ \
614 ; test -f htmpages.tar || cd "$srcdir" \
615 ; P=`pwd` ; test -s htmpages.tar || exit 1 \
616 ; cd $(DESTDIR)$(pkgdocdir)/man && $(PAX_TAR_EXTRACT) $$P/htmpages.tar \
617 ; true
618
619 install-doc : install-docs $(PACKAGE)-doc.omf
620 $(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
621 $(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
622 - test ".$(DESTDIR)" != "." || scrollkeeper-update
623 www: upload-sourceforge
624 upload-sourceforge:
625 $(MAKE) install-docs DESTDIR=/tmp/zziplib-htdocs-$$USER/
626 echo scp ... $(SOURCEFORGE_HOST):$(SOURCEFORGE_PATH)/ ; sleep 4
627 scp -r /tmp/zziplib-htdocs-$$USER/$(pkgdocdir)/* \
628 $$USER,$(SOURCEFORGE_GROUP)@$(SOURCEFORGE_HOST):$(SOURCEFORGE_PATH)
629 rm -r /tmp/zziplib-htdocs-$$USER/
630
631 # ------------------------------------------------------------ package manpages
632 mans : manpages
633 install-mans : install-man3
634
635 man3 man manpages : manpages.tar
636 html htm htmpages : htmpages.tar
637
638 zziplib-manpages.tar : manpages.tar
639 test -s "$@" || test -s "$(srcdir)/$@"
640 manpages.tar : zziplib.xml zzipmmapped.xml zzipfseeko.xml
641 : "unix man format of the manpages - goes to ../share/man/man3"
642 @ if test "$(XMLTO)" != ":" \
643 ; then echo going to regenerate "$@" in subdir "'"man"'" \
644 ; echo 'test ! -d man3 || rm man3/* ; test -d man3 || mkdir man3' \
645 ; test ! -d man3 || rm man3/* ; test -d man3 || mkdir man3 \
646 ; echo '$(XMLTO) -o man3 man zziplib.xml' \
647 ; $(XMLTO) -o man3 man zziplib.xml \
648 ; echo '$(XMLTO) -o man3 man zzipmmapped.xml' \
649 ; $(XMLTO) -o man3 man zzipmmapped.xml \
650 ; echo '$(XMLTO) -o man3 man zzipfseeko.xml' \
651 ; $(XMLTO) -o man3 man zzipfseeko.xml \
652 ; if test -d man3/man3; then mv man3 man3_ \
653 ; mv man3_/man3 man3; rm -r man3_; fi \
654 ; echo 'chmod 664 man3/*.3' \
655 ; chmod 664 man3/*.3 \
656 ; echo '$(PAX_TAR_CREATE) "$@" man3/' \
657 ; $(PAX_TAR_CREATE) "$@" man3/ \
658 ; fi ; true
659 @ if test "$(XMLTO)" = ":" \
660 ; then echo going to regenerate "$@" in subdir "'"man"'" \
661 ; echo 'test ! -d man3 || rm man3/* ; test -d man3 || mkdir man3' \
662 ; test ! -d man3 || rm man3/* ; test -d man3 || mkdir man3 \
663 ; echo '$(srcdir)/dbk2man.py -o man3 man zziplib.xml' \
664 ; $(PYTHON) $(srcdir)/dbk2man.py -o man3 man zziplib.xml \
665 ; echo '$(srcdir)/dbk2man.py -o man3 man zzipmmapped.xml' \
666 ; $(PYTHON) $(srcdir)/dbk2man.py -o man3 man zzipmmapped.xml \
667 ; echo '$(srcdir)/dbk2man.py -o man3 man zzipfseeko.xml' \
668 ; $(PYTHON) $(srcdir)/dbk2man.py -o man3 man zzipfseeko.xml \
669 ; if test -d man3/man3; then mv man3 man3_ \
670 ; mv man3_/man3 man3; rm -r man3_; fi \
671 ; echo 'chmod 664 man3/*.3' \
672 ; chmod 664 man3/*.3 \
673 ; echo '$(PAX_TAR_CREATE) "$@" man3/' \
674 ; $(PAX_TAR_CREATE) "$@" man3/ \
675 ; fi ; true
676 @ if test -s $@ \
677 ; then echo cp $@ zziplib-$@ "(saved)"; cp $@ zziplib-$@ \
678 ; else echo cp $(srcdir)/zziplib-$@ $@; cp $(srcdir)/zziplib-$@ $@ \
679 ; fi
680
681 zziplib-htmpages.tar : htmpages.tar
682 test -s "$@" || test -s "$(srcdir)/$@"
683 htmpages.tar : zziplib.xml zzipmmapped.xml zzipfseeko.xml zziplib-manpages.dbk
684 : "html format of the manpages - put into zziplib/htdocs/man/*"
685 @ if test "$(XMLTO)" != ":" \
686 ; then echo going to regenerate "$@" in subdir "'"html"'" \
687 ; echo 'test ! -d html || rm html/* ; test -d html || mkdir html' \
688 ; test ! -d html || rm html/* ; test -d html || mkdir html \
689 ; echo 'cp $(srcdir)/zziplib-manpages.dbk zziplib-manpages.xml' \
690 ; cp $(srcdir)/zziplib-manpages.dbk zziplib-manpages.xml \
691 ; echo '$(XMLTO) -o html html zziplib-manpages.xml | tee written.lst' \
692 ; $(XMLTO) -o html html zziplib-manpages.xml | tee written.lst \
693 ; echo '$(PAX_TAR_CREATE) $@ html/*.*' \
694 ; $(PAX_TAR_CREATE) $@ html/*.* \
695 ; fi ; true
696 @ if test "$(XMLTO)" = ":" \
697 ; then echo going to regenerate "$@" in subdir "'"html"'" \
698 ; echo 'test ! -d html || rm html/* ; test -d html || mkdir html' \
699 ; test ! -d html || rm html/* ; test -d html || mkdir html \
700 ; echo 'cp $(srcdir)/zziplib-manpages.dbk zziplib-manpages.xml' \
701 ; cp $(srcdir)/zziplib-manpages.dbk zziplib-manpages.xml \
702 ; echo '$(srcdir)/dbk2man.py -o html html zziplib.xml' \
703 ; $(PYTHON) $(srcdir)/dbk2man.py -o html html zziplib.xml \
704 ; echo '$(srcdir)/dbk2man.py -o html html zzipmmapped.xml' \
705 ; $(PYTHON) $(srcdir)/dbk2man.py -o html html zzipmmapped.xml \
706 ; echo '$(srcdir)/dbk2man.py -o html html zzipfseeko.xml' \
707 ; $(PYTHON) $(srcdir)/dbk2man.py -o html html zzipfseeko.xml \
708 ; echo '$(srcdir)/dir2index.py -o html html ' \
709 ; $(PYTHON) $(srcdir)/dir2index.py -o html html \
710 ; echo '$(PAX_TAR_CREATE) $@ html/*.*' \
711 ; $(PAX_TAR_CREATE) $@ html/*.* \
712 ; fi ; true
713 @ if test -s $@ \
714 ; then echo cp $@ zziplib-$@ "(saved)"; cp $@ zziplib-$@ \
715 ; else echo cp $(srcdir)/zziplib-$@ $@; cp $(srcdir)/zziplib-$@ $@ \
716 ; fi
717
718 install-man3 : manpages.tar
719 $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
720 P=`pwd` ; test -s manpages.tar || exit 1 \
721 ; cd $(DESTDIR)$(mandir) && $(PAX_TAR_EXTRACT) $$P/manpages.tar \
722 ; true
723
724 unpack : manpages.tar htmpages.tar
725 test -s manpages.tar && test -s htmpages.tar
726 (rm -rf _htm && mkdir _htm && cd _htm && $(PAX_TAR_EXTRACT) ../htmpages.tar)
727 (rm -rf _man && mkdir _man && cd _man && $(PAX_TAR_EXTRACT) ../manpages.tar)
728 clean-unpack :
729 rm -rf _htm
730 rm -rf _man
731
732 $(PACKAGE)-doc.omf : $(spec_file) Makefile
733 : "OMF for the html documentation - a copy of zziplib.sf.net"
734 echo '<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>' >$@
735 echo '<omf><resource><creator> Guido Draheim </creator>' >>$@
736 grep Packager $(FROMSPEC) | sed -e 's,Packager *: *, <maintainer>,' \
737 -e '/<maintainer>/s,$$,</maintainer>,' >>$@
738 grep Summary $(FROMSPEC) | sed -e 's,Summary *: *, <title>,' \
739 -e '/<title>/s,$$,</title>,' >>$@
740 echo ' <date>'$(DATESPEC)'</date>' >>$@
741 echo ' <version identifier="$(VERSION)" date="'$(DATESPEC)'"/>' >>$@
742 grep Group $(FROMSPEC) | sed -e 's,Group *: *, <subject category=",' \
743 -e 's,/,|,g' -e '/<subject/s,$$," />,' >>$@
744 echo ' <format mime="text/html"/>' >>$@
745 pkgdocdir=`echo "$(pkgdocdir)" | sed -e "s|/[a-z][a-z]*/[.][.]/|/|"` \
746 echo ' <identifier url="file:'"$$pkgdocdir"'/zzip-index.html"/>' >>$@
747 echo ' <language code="C"/>' >>$@
748 echo ' <relation seriesid="$(DOCSERIES)"/>' >>$@
749 echo ' <rights type="GNU LGPL" holder="Guido Draheim"' >>$@
750 pkgdocdir=`echo "$(pkgdocdir)" | sed -e "s|/[a-z][a-z]*/[.][.]/|/|"` \
751 echo ' license="'"$$pkgdocdir"')/COPYING.LIB"/>' >>$@
752 echo '</resource></omf>' >>$@
753 $(PACKAGE)-man.omf : $(PACKAGE)-doc.omf $(PACKAGE).xml
754 : "OMF for functions reference - the docbook master of the manpages"
755 sed -e 's,"text/html","text/xml" dtd="$(DOCBOOKDTD)",' \
756 -e 's,</title>, (Function Reference)</title>,' \
757 -e 's,/index.html,/xml/manpages.xml,' \
758 -e 's,$(DOCSERIES),$(MANSERIES),' $(PACKAGE)-doc.omf > $@
759 test -s $@ || rm $@
760
761 omf : $(PACKAGE)-doc.omf $(PACKAGE)-man.omf
762 install-omf : omf zziplib.xml zzipmmapped.xml zzipfseeko.xml
763 : "not installed by default anymore - 'make install-doc' has one OMF"
764 $(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
765 $(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
766 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
767 $(INSTALL_DATA) $(srcdir)/zziplib-manpages.xml \
768 $(DESTDIR)$(pkgdocdir)/xml/manpages.xml
769 $(INSTALL_DATA) zziplib.xml zzipmmapped.xml zzipfseeko.xml \
770 $(DESTDIR)$(pkgdocdir)/xml/
771 $(INSTALL_DATA) $(PACKAGE)-man.omf $(DESTDIR)$(pkgomfdir)/
772 - test ".$(DESTDIR)" != "." || scrollkeeper-update -v
773
774 # ----------------------------------------------- mksite.sh for the main html
775 site.htm : body.htm
776 cp $(srcdir)/body.htm site.htm
777 site.html : body.htm site.htm mksite.sh $(htm_FILES) $(htms_FILES)
778 cp $(srcdir)/body.htm site.htm
779 perl $(srcdir)/mksite.pl $(mksite_sh_args) site.htm || \
780 $(SHELL) $(srcdir)/mksite.sh $(mksite_sh_args) site.htm
781
782 changes.htm : $(top_srcdir)/ChangeLog Makefile
783 echo "<pre>" > $@ ; cat $(top_srcdir)/ChangeLog \
784 | sed -e "s,\\&,\\&amp\\;,g" \
785 -e "s,<,\\&lt\\;,g" -e "s,>,\\&gt\\;,g" \
786 -e "/^[A-Z].*[12][09][09][09]/s,\\(.*\\),<b>&</b>," \
787 -e "/^[0-9]/s,\\(.*\\),<b>&</b>," >> $@ ; echo "</pre>" >>$@
788
789 # ----------------------------------------------- create pdf via docbook xml
790 # sorry, the xmlto / docbook-xsl are too broken to rebuild the PDF anymore
791
792 zzip.xml : $(htm_FILES) zziplib.xml make-dbk.pl
793 : '@PERL@ make-dbk.pl $(htm_FILES) zziplib.xml >$@'
794 @PYTHON@ $(srcdir)/zzipdoc/htm2dbk.py $(htm_FILES) zziplib.xml >$@
795 test -s "$@" || rm "$@"
796
797 zzip.html : zzip.xml
798 xmlto html-nochunks zzip.xml
799 zzip.pdf : zzip.xml
800 xmlto pdf zzip.xml
801
802 zziplib.pdf : $(htm_FILES) $(srcdir)/zziplib-master.dbk mksite.pl
803 cp $(srcdir)/zziplib-master.dbk zziplib.docbook
804 xmlto pdf zziplib.docbook ; rm zziplib.docbook
805 test -s zziplib.pdf
806
807 pdfs : zziplib.pdf
808
809 # Tell versions [3.59,3.63) of GNU make to not export all variables.
810 # Otherwise a system limit (for SysV at least) may be exceeded.
811 .NOEXPORT: