~ubuntu-branches/ubuntu/dapper/file-roller/dapper-updates

« back to all changes in this revision

Viewing changes to help/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-04-11 08:44:59 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20060411084459-9r22188ftese2ev2
Tags: upstream-2.14.1
ImportĀ upstreamĀ versionĀ 2.14.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.7.9 from Makefile.am.
 
1
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
 
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5
 
# Free Software Foundation, Inc.
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004, 2005  Free Software Foundation, Inc.
6
6
# This Makefile.in is free software; the Free Software Foundation
7
7
# gives unlimited permission to copy and/or distribute it,
8
8
# with or without modifications, as long as this notice is preserved.
37
37
# the same distribution terms that you use for the rest of that program.
38
38
 
39
39
################################################################################
40
 
 
41
40
srcdir = @srcdir@
42
41
top_srcdir = @top_srcdir@
43
42
VPATH = @srcdir@
45
44
pkglibdir = $(libdir)/@PACKAGE@
46
45
pkgincludedir = $(includedir)/@PACKAGE@
47
46
top_builddir = ..
48
 
 
49
47
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
50
48
INSTALL = @INSTALL@
51
49
install_sh_DATA = $(install_sh) -c -m 644
59
57
NORMAL_UNINSTALL = :
60
58
PRE_UNINSTALL = :
61
59
POST_UNINSTALL = :
 
60
build_triplet = @build@
62
61
host_triplet = @host@
 
62
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 
63
        $(top_srcdir)/gnome-doc-utils.make ChangeLog
 
64
subdir = help
 
65
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
66
am__aclocal_m4_deps = $(top_srcdir)/configure.in
 
67
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
68
        $(ACLOCAL_M4)
 
69
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
70
CONFIG_HEADER = $(top_builddir)/config.h
 
71
CONFIG_CLEAN_FILES =
 
72
SOURCES =
 
73
DIST_SOURCES =
 
74
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
63
75
ACLOCAL = @ACLOCAL@
64
76
AMDEP_FALSE = @AMDEP_FALSE@
65
77
AMDEP_TRUE = @AMDEP_TRUE@
74
86
CC = @CC@
75
87
CCDEPMODE = @CCDEPMODE@
76
88
CFLAGS = @CFLAGS@
 
89
CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@
77
90
CPP = @CPP@
78
91
CPPFLAGS = @CPPFLAGS@
79
92
CXX = @CXX@
138
151
INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
139
152
INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
140
153
INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
 
154
INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
141
155
INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
142
156
INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
143
157
INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
199
213
am__include = @am__include@
200
214
am__leading_dot = @am__leading_dot@
201
215
am__quote = @am__quote@
 
216
am__tar = @am__tar@
 
217
am__untar = @am__untar@
202
218
bindir = @bindir@
203
219
build = @build@
204
220
build_alias = @build_alias@
219
235
libexecdir = @libexecdir@
220
236
localstatedir = @localstatedir@
221
237
mandir = @mandir@
 
238
mkdir_p = @mkdir_p@
222
239
oldincludedir = @oldincludedir@
223
240
prefix = @prefix@
224
241
program_transform_name = @program_transform_name@
229
246
_clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
230
247
_DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS))
231
248
 
232
 
 
233
249
################################################################################
234
250
rngdoc_args = \
235
251
        --stringparam rngdoc.id                                                 \
236
252
        $(shell echo $(basename $(notdir $(1))) | sed -e 's/[^A-Za-z0-9_-]/_/g')\
237
253
        $(_rngdoc) $(filter %/$(basename $(notdir $(1))).rng,$(_RNGDOC_RNGS))
238
254
 
239
 
 
240
255
_RNGDOC_RNGS = $(sort $(patsubst ./%, %, $(foreach dir,$(RNGDOC_DIRS),          \
241
256
        $(wildcard $(dir)/*.rng) $(wildcard $(srcdir)/$(dir)/*.rng))))
242
257
 
243
 
 
244
258
_RNGDOC_C_DOCS = $(foreach rng,$(_RNGDOC_RNGS), C/$(basename $(notdir $(rng))).xml)
245
259
 
246
260
################################################################################
254
268
        $(_xsldoc)                                                              \
255
269
        $(word 1,$(filter %/$(basename $(notdir $(1))).xsl,$(_XSLDOC_XSLS)))
256
270
 
257
 
 
258
271
_XSLDOC_XSLS = $(sort $(patsubst ./%, %, $(foreach dir,$(XSLDOC_DIRS),          \
259
272
        $(wildcard $(dir)/*.xsl) $(wildcard $(srcdir)/$(dir)/*.xsl))))
260
273
 
261
 
 
262
274
_XSLDOC_C_DOCS = $(foreach xsl,$(_XSLDOC_XSLS), C/$(basename $(notdir $(xsl))).xml)
263
275
 
264
 
 
265
276
################################################################################
266
277
db2omf_args = \
267
278
        --stringparam db2omf.basename $(DOC_MODULE)                             \
275
286
        --stringparam db2omf.omf_in "`pwd`/$(_DOC_OMF_IN)"                      \
276
287
        $(_db2omf) $(2)
277
288
 
278
 
 
279
289
_DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(srcdir)/$(DOC_MODULE).omf.in))
280
 
 
281
290
_DOC_OMF_DB = $(if $(_DOC_OMF_IN),                                              \
282
291
        $(foreach lc,C $(DOC_LINGUAS),$(DOC_MODULE)-$(lc).omf))
283
292
 
284
 
 
285
293
_DOC_OMF_HTML = $(if $(_DOC_OMF_IN),                                            \
286
294
        $(foreach lc,C $(DOC_LINGUAS),$(DOC_MODULE)-html-$(lc).omf))
287
295
 
292
300
        $(if $(findstring html,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML))
293
301
 
294
302
 
295
 
 
296
303
################################################################################
297
304
_DOC_DSK_IN = $(if $(DOC_MODULE),$(wildcard $(srcdir)/$(DOC_MODULE).desktop.in))
298
 
 
299
305
_DOC_DSK_DB = $(if $(_DOC_DSK_IN),                                              \
300
306
        $(foreach lc,C $(DOC_LINGUAS),$(DOC_MODULE).db.$(lc).desktop))
301
307
 
302
 
 
303
308
_DOC_DSK_HTML = $(if $(_DOC_DSK_IN),                                            \
304
309
        $(foreach lc,C $(DOC_LINGUAS),$(DOC_MODULE).html.$(lc).desktop))
305
310
 
310
315
        $(if $(findstring html,$(_DOC_REAL_FORMATS)),$(_DOC_DSK_HTML))
311
316
 
312
317
 
313
 
 
314
318
################################################################################
315
319
_CVSIGNORE_TOP = $(if $(DOC_MODULE), .cvsignore)
316
 
 
317
320
_CVSIGNORE_C = $(if $(DOC_MODULE), C/.cvsignore)
318
 
 
319
321
_CVSIGNORE_LC = $(if $(DOC_MODULE),$(foreach lc,$(DOC_LINGUAS),$(lc)/.cvsignore))
320
 
 
321
322
_CVSIGNORE_TOP_FILES = $(_DOC_OMF_ALL) $(_DOC_DSK_ALL)
322
 
 
323
323
_CVSIGNORE_C_FILES = $(_RNGDOC_C_DOCS) $(_XSLDOC_C_DOCS)
324
 
 
325
324
_CVSIGNORE_LC_FILES = $(_DOC_LC_DOCS)
326
325
 
327
 
 
328
326
################################################################################
329
327
_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
330
 
 
331
328
_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
332
 
 
333
329
_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
334
 
 
335
330
_DOC_C_DOCS = \
336
331
        $(_DOC_C_ENTITIES)      $(_DOC_C_INCLUDES)                      \
337
332
        $(_RNGDOC_C_DOCS)       $(_XSLDOC_C_DOCS)                       \
338
333
        $(_DOC_C_MODULE)
339
334
 
340
 
 
341
335
_DOC_C_DOCS_NOENT = \
342
336
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)                      \
343
337
        $(_RNGDOC_C_DOCS)       $(_XSLDOC_C_DOCS)
344
338
 
345
 
 
346
339
_DOC_C_FIGURES = $(if $(DOC_FIGURES),                                   \
347
340
        $(foreach fig,$(DOC_FIGURES),C/$(fig)),                         \
348
341
        $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png)))
354
347
        $(_chunks) "C/$(DOC_MODULE).xml")
355
348
 
356
349
 
357
 
 
358
350
###############################################################################
359
351
_DOC_POFILES = $(if $(DOC_MODULE),                                      \
360
352
        $(foreach lc,$(DOC_LINGUAS),$(lc)/$(lc).po))
361
353
 
362
 
 
363
354
_DOC_LC_MODULES = $(if $(DOC_MODULE),                                   \
364
355
        $(foreach lc,$(DOC_LINGUAS),$(lc)/$(DOC_MODULE).xml))
365
356
 
366
 
 
367
357
_DOC_LC_INCLUDES = \
368
358
        $(foreach lc,$(DOC_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES),   \
369
359
                $(lc)/$(notdir $(inc)) ))
370
360
 
371
 
 
372
361
_RNGDOC_LC_DOCS = \
373
362
        $(foreach lc,$(DOC_LINGUAS),$(foreach doc,$(_RNGDOC_C_DOCS),    \
374
363
                $(lc)/$(notdir $(doc)) ))
375
364
 
376
 
 
377
365
_XSLDOC_LC_DOCS = \
378
366
        $(foreach lc,$(DOC_LINGUAS),$(foreach doc,$(_XSLDOC_C_DOCS),    \
379
367
                $(lc)/$(notdir $(doc)) ))
384
372
        $(foreach lc,$(DOC_LINGUAS),$(foreach doc,$(_DOC_C_HTML),       \
385
373
                $(lc)/$(notdir $(doc)) ))
386
374
 
387
 
 
388
375
_DOC_LC_DOCS = \
389
376
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)                     \
390
377
        $(_RNGDOC_LC_DOCS)      $(_XSLDOC_LC_DOCS)                      \
391
378
        $(if $(findstring html,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
392
379
 
393
 
 
394
380
_DOC_LC_FIGURES = $(foreach lc,$(DOC_LINGUAS),                          \
395
381
        $(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) )
396
382
 
397
 
 
398
383
_DOC_SRC_FIGURES = \
399
384
        $(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(DOC_LINGUAS), \
400
385
                $(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) ))
401
386
 
402
 
 
403
387
_DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot)
404
388
 
405
 
 
406
389
################################################################################
407
390
_DOC_HTML_ALL = $(if $(findstring html,$(_DOC_REAL_FORMATS)), \
408
391
        $(_DOC_C_HTML) $(_DOC_LC_HTML))
409
392
 
410
 
 
411
393
_DOC_HTML_TOPS = $(foreach lc,C $(DOC_LINGUAS),$(lc)/$(DOC_MODULE).html)
412
 
 
 
394
@ENABLE_SK_FALSE@_ENABLE_SK = false
413
395
 
414
396
################################################################################
415
397
@ENABLE_SK_TRUE@_ENABLE_SK = true
416
 
@ENABLE_SK_FALSE@_ENABLE_SK = false
417
 
 
418
398
_clean_rngdoc = $(if $(RNGDOC_DIRS),clean-doc-rngdoc)
419
399
_clean_xsldoc = $(if $(XSLDOC_DIRS),clean-doc-xsldoc)
420
400
_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
421
401
_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
422
402
_clean_lc = $(if $(DOC_LINGUAS),clean-doc-lc)
423
403
_clean_dir = $(if $(DOC_MODULE),clean-doc-dir)
424
 
 
425
404
DOC_MODULE = file-roller
426
405
DOC_ENTITIES = legal.xml
427
406
DOC_INCLUDES = 
432
411
        figures/file-roller_rightarrow.png      \
433
412
        figures/file-roller_uparrow.png
434
413
 
435
 
 
436
414
DOC_LINGUAS = bg de es fr it ja ko ru sv uk zh_CN zh_HK zh_TW
437
 
subdir = help
438
 
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
439
 
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
440
 
CONFIG_HEADER = $(top_builddir)/config.h
441
 
CONFIG_CLEAN_FILES =
442
 
DIST_SOURCES =
443
 
DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/gnome-doc-utils.make \
444
 
        ChangeLog Makefile.am
445
415
all: all-am
446
416
 
447
417
.SUFFIXES:
448
 
$(srcdir)/Makefile.in:  Makefile.am $(top_srcdir)/gnome-doc-utils.make $(top_srcdir)/configure.in $(ACLOCAL_M4)
 
418
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/gnome-doc-utils.make $(am__configure_deps)
 
419
        @for dep in $?; do \
 
420
          case '$(am__configure_deps)' in \
 
421
            *$$dep*) \
 
422
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
 
423
                && exit 0; \
 
424
              exit 1;; \
 
425
          esac; \
 
426
        done; \
 
427
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  help/Makefile'; \
449
428
        cd $(top_srcdir) && \
450
429
          $(AUTOMAKE) --gnu  help/Makefile
451
 
Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
452
 
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
 
430
.PRECIOUS: Makefile
 
431
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
432
        @case '$?' in \
 
433
          *config.status*) \
 
434
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
435
          *) \
 
436
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
437
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
438
        esac;
 
439
 
 
440
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
441
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
442
 
 
443
$(top_srcdir)/configure:  $(am__configure_deps)
 
444
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
445
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
 
446
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
453
447
 
454
448
mostlyclean-libtool:
455
449
        -rm -f *.lo
466
460
ctags: CTAGS
467
461
CTAGS:
468
462
 
469
 
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
470
 
 
471
 
top_distdir = ..
472
 
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
473
463
 
474
464
distdir: $(DISTFILES)
475
 
        $(mkinstalldirs) $(distdir)/..
 
465
        $(mkdir_p) $(distdir)/..
476
466
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
477
467
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
478
468
        list='$(DISTFILES)'; for file in $$list; do \
484
474
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
485
475
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
486
476
            dir="/$$dir"; \
487
 
            $(mkinstalldirs) "$(distdir)$$dir"; \
 
477
            $(mkdir_p) "$(distdir)$$dir"; \
488
478
          else \
489
479
            dir=''; \
490
480
          fi; \
505
495
check-am: all-am
506
496
check: check-am
507
497
all-am: Makefile
508
 
 
509
498
installdirs:
510
499
install: install-am
511
500
install-exec: install-exec-am
526
515
clean-generic:
527
516
 
528
517
distclean-generic:
529
 
        -rm -f $(CONFIG_CLEAN_FILES)
 
518
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
530
519
 
531
520
maintainer-clean-generic:
532
521
        @echo "This command is intended for maintainers to use"
544
533
 
545
534
dvi-am:
546
535
 
 
536
html: html-am
 
537
 
547
538
info: info-am
548
539
 
549
540
info-am:
579
570
uninstall-am: uninstall-info-am uninstall-local
580
571
 
581
572
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
582
 
        clean-local distclean distclean-generic distclean-libtool \
583
 
        distclean-local distdir dvi dvi-am info info-am install \
584
 
        install-am install-data install-data-am install-data-local \
585
 
        install-exec install-exec-am install-info install-info-am \
586
 
        install-man install-strip installcheck installcheck-am \
587
 
        installdirs maintainer-clean maintainer-clean-generic \
 
573
        clean-local dist-hook distclean distclean-generic \
 
574
        distclean-libtool distclean-local distdir dvi dvi-am html \
 
575
        html-am info info-am install install-am install-data \
 
576
        install-data-am install-data-local install-exec \
 
577
        install-exec-am install-info install-info-am install-man \
 
578
        install-strip installcheck installcheck-am installdirs \
 
579
        maintainer-clean maintainer-clean-generic \
588
580
        maintainer-clean-local mostlyclean mostlyclean-generic \
589
581
        mostlyclean-libtool mostlyclean-local pdf pdf-am ps ps-am \
590
582
        uninstall uninstall-am uninstall-info-am uninstall-local
597
589
$(DOC_H_FILE): $(DOC_H_DOCS);
598
590
        @rm -f $@.tmp; touch $@.tmp;
599
591
        echo 'const gchar* documentation_credits[] = {' >> $@.tmp
600
 
        for doc in $(DOC_H_DOCS); do \
 
592
        list='$(DOC_H_DOCS)'; for doc in $$list; do \
601
593
          xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
602
594
          if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
603
595
          xsltproc --path "$$xmlpath" $(_credits) $$doc; \
607
599
        echo '  NULL' >> $@.tmp
608
600
        echo '};' >> $@.tmp
609
601
        echo >> $@.tmp
610
 
        for doc in $(DOC_H_DOCS); do \
 
602
        list='$(DOC_H_DOCS)'; for doc in $$list; do \
611
603
          xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \
612
604
          if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \
613
605
          docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \
716
708
$(_CVSIGNORE_TOP) : $(_CVSIGNORE_TOP_FILES)
717
709
        if ! test -f $@; then touch $@; fi
718
710
        cat $@ > $@.tmp
719
 
        for file in $^; do \
 
711
        list='$^'; for file in $$list; do \
720
712
          echo $$file >> $@.tmp; \
721
713
        done
722
714
        cat $@.tmp | sort | uniq > $@
725
717
$(_CVSIGNORE_C) : $(_CVSIGNORE_C_FILES)
726
718
        if ! test -f $@; then touch $@; fi
727
719
        cat $@ > $@.tmp
728
 
        for file in $^; do \
 
720
        list='$^'; for file in $$list; do \
729
721
          echo $$file | sed -e 's/.*\///' >> $@.tmp; \
730
722
        done
731
723
        cat $@.tmp | sort | uniq > $@
734
726
$(_CVSIGNORE_LC) : $(_CVSIGNORE_LC_FILES)
735
727
        if ! test -f $@; then touch $@; fi
736
728
        cat $@ > $@.tmp
737
 
        for file in $(wildcard $(_CVSIGNORE_LC_FILES),$(dir $@)/*); do \
 
729
        list='$(wildcard $(_CVSIGNORE_LC_FILES),$(dir $@)/*)'; \
 
730
        for file in $$list; do \
738
731
          echo $$file | sed -e 's/.*\///' >> $@.tmp; \
739
732
        done
740
733
        cat $@.tmp | sort | uniq > $@
746
739
.PHONY: po
747
740
po: $(_DOC_POFILES)
748
741
 
749
 
$(_DOC_POFILES): $(_DOC_C_DOCS)
 
742
$(_DOC_POFILES):
750
743
        @if ! test -d $(dir $@); then \
751
744
          echo "mkdir $(dir $@)"; \
752
745
          mkdir "$(dir $@)"; \
756
749
          cp "$(srcdir)/$@" "$@"; \
757
750
        fi;
758
751
        @docs=; \
759
 
        for doc in $(_DOC_C_DOCS_NOENT) ; do \
 
752
        list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \
760
753
          if test -f $$doc; then \
761
754
            docs="$$docs ../$$doc"; \
762
755
          else \
782
775
$(_DOC_LC_DOCS) : $(_DOC_POFILES)
783
776
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
784
777
        if ! test -d $(dir $@); then mkdir $(dir $@); fi
785
 
        if test -f "C/$(notdir $@)"; then d="../"; else d="../$(srcdir)/"; fi; \
 
778
        case "$(srcdir)" in /*) sd="$(srcdir)";; *) sd="../$(srcdir)";; esac; \
 
779
        if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$$sd/"; fi; \
786
780
        (cd $(dir $@) && \
787
781
          $(_xml2po) -e -p \
788
 
            $${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po \
789
 
            $${d}C/$(notdir $@) > $(notdir $@).tmp && \
 
782
            "$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
 
783
            "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
790
784
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
791
785
.PHONY: pot
792
786
pot: $(_DOC_POT)
809
803
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
810
804
clean-doc-lc:
811
805
        rm -f $(_DOC_LC_DOCS)
812
 
        @for po in $(_DOC_POFILES); do \
 
806
        @list='$(_DOC_POFILES)'; for po in $$list; do \
813
807
          if ! test "$$po" -ef "$(srcdir)/$$po"; then \
814
808
            echo "rm -f $$po"; \
815
809
            rm -f "$$po"; \
860
854
          echo " $(mkinstalldirs) $(distdir)/$$lc"; \
861
855
          $(mkinstalldirs) "$(distdir)/$$lc"; \
862
856
        done
863
 
        @for doc in $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES); do \
 
857
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES)'; \
 
858
        for doc in $$list; do \
864
859
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
865
860
          echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \
866
861
          $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \
867
862
        done
868
863
 
869
864
dist-doc-figs: $(_DOC_SRC_FIGURES)
870
 
        @for fig in $(_DOC_C_FIGURES) $(_DOC_LC_FIGURES); do \
 
865
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \
 
866
        for fig in $$list; do \
871
867
          if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \
872
868
          if test -f "$$d$$fig"; then \
873
869
            figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
909
905
        done
910
906
 
911
907
check-doc-omf: $(_DOC_OMF_ALL)
912
 
        @for omf in $(_DOC_OMF_ALL); do \
 
908
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
913
909
          echo "xmllint --noout --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
914
910
          xmllint --noout --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
915
911
        done
927
923
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
928
924
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc; \
929
925
        done
930
 
        @for doc in $(_DOC_C_DOCS) $(_DOC_LC_DOCS); do \
 
926
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
931
927
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
932
928
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
933
929
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \
934
930
        done
935
931
 
936
932
install-doc-figs:
937
 
        @for fig in $(patsubst C/%,%,$(_DOC_C_FIGURES)); do \
 
933
        @list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \
938
934
          for lc in C $(DOC_LINGUAS); do \
939
935
            if test -f "$$lc/$$fig"; then \
940
936
              figfile="$$lc/$$fig"; \
962
958
 
963
959
install-doc-omf:
964
960
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)
965
 
        @for omf in $(_DOC_OMF_ALL); do \
 
961
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
966
962
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
967
963
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf; \
968
964
        done
969
965
        @if test "x$(_ENABLE_SK)" = "xtrue"; then \
970
 
          echo "scrollkeeper-update -p $(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
971
 
          scrollkeeper-update -p "$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
966
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
967
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
972
968
        fi;
973
969
 
974
970
install-doc-dsk:
978
974
uninstall-local:                                        \
979
975
        $(if $(DOC_MODULE),uninstall-doc-docs)          \
980
976
        $(if $(_DOC_HTML_ALL),uninstall-doc-html)       \
981
 
        $(if $(DOC_FIGURES),uninstall-doc-figs)         \
 
977
        $(if $(_DOC_C_FIGURES),uninstall-doc-figs)      \
982
978
        $(if $(_DOC_OMF_IN),uninstall-doc-omf)
983
979
#       $(if $(_DOC_DSK_IN),uninstall-doc-dsk)
984
980
 
985
981
uninstall-doc-docs:
986
 
        @for doc in $(_DOC_C_DOCS) $(_DOC_LC_DOCS); do \
 
982
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
987
983
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
988
984
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
989
985
        done
990
986
 
991
987
uninstall-doc-figs:
992
 
        @for fig in $(_DOC_C_FIGURES) $(_DOC_LC_FIGURES); do \
 
988
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
993
989
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
994
990
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
995
991
        done;
996
992
 
997
993
uninstall-doc-omf:
998
 
        @for omf in $(_DOC_OMF_ALL); do \
 
994
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
999
995
          if test "x$(_ENABLE_SK)" == "xtrue"; then \
1000
996
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
1001
997
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \