~ubuntu-branches/ubuntu/raring/gnome-system-tools/raring-proposed

« back to all changes in this revision

Viewing changes to doc/time/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-06-11 16:06:30 UTC
  • mfrom: (1.5.9 upstream) (1.2.11 sid)
  • Revision ID: james.westby@ubuntu.com-20100611160630-8iolgbowspfaydud
Tags: 2.30.2-1ubuntu1
* Merge with debian unstable, remaining Ubuntu changes:
* debian/control.in:
  - Build-depend on libpango1.0-dev
  - Add Vcs-Bzr URL link
  - Add gnome-network-admin package
* debian/rules:
  - Run autotools on build
  - Don't build services-admin
  - Build POT files
* debian/gnome-network-admin.*:
* debian/gnome-system-tools.*:
  - Put network-admin in it's own package
* debian/patches/25_sambashare_group_definition.patch:
  - Add sambashare to known groups
* debian/patches/26_user_profiles_conf.patch:
  - Don't add new user to audio group
* debian/patches/80_gst-packages-common.patch:
  - Used by following 2 patches
* debian/patches/81_gst-packages-shares-admin.patch:
  - Install nfs-kernel-server and samba on demand
* debian/patches/82_gst-packages-time-admin.patch:
  - Install ntp on demand
* debian/patches/90_relibtoolize.patch:
  - Not required, autotools now run on build
* debian/watch:
  - Watch unstable series

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        $(top_srcdir)/gnome-doc-utils.make ChangeLog
62
62
subdir = doc/time
63
63
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
64
 
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
 
64
am__aclocal_m4_deps = $(top_srcdir)/m4/gnome-doc-utils.m4 \
 
65
        $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \
65
66
        $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
66
67
        $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
67
68
        $(top_srcdir)/configure.in
79
80
am__v_at_0 = @
80
81
SOURCES =
81
82
DIST_SOURCES =
 
83
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
 
84
        html-recursive info-recursive install-data-recursive \
 
85
        install-dvi-recursive install-exec-recursive \
 
86
        install-html-recursive install-info-recursive \
 
87
        install-pdf-recursive install-ps-recursive install-recursive \
 
88
        installcheck-recursive installdirs-recursive pdf-recursive \
 
89
        ps-recursive uninstall-recursive
 
90
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
 
91
  distclean-recursive maintainer-clean-recursive
 
92
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
 
93
        $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
 
94
        distdir
 
95
ETAGS = etags
 
96
CTAGS = ctags
 
97
DIST_SUBDIRS = $(SUBDIRS)
82
98
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
99
am__relativize = \
 
100
  dir0=`pwd`; \
 
101
  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
 
102
  sed_rest='s,^[^/]*/*,,'; \
 
103
  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
 
104
  sed_butlast='s,/*[^/]*$$,,'; \
 
105
  while test -n "$$dir1"; do \
 
106
    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
 
107
    if test "$$first" != "."; then \
 
108
      if test "$$first" = ".."; then \
 
109
        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
 
110
        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
 
111
      else \
 
112
        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
 
113
        if test "$$first2" = "$$first"; then \
 
114
          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
 
115
        else \
 
116
          dir2="../$$dir2"; \
 
117
        fi; \
 
118
        dir0="$$dir0"/"$$first"; \
 
119
      fi; \
 
120
    fi; \
 
121
    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
 
122
  done; \
 
123
  reldir="$$dir2"
83
124
ACLOCAL = @ACLOCAL@
84
125
ALL_LINGUAS = @ALL_LINGUAS@
85
126
AMTAR = @AMTAR@
125
166
GST_CFLAGS = @GST_CFLAGS@
126
167
GST_DEPENDS_CFLAGS = @GST_DEPENDS_CFLAGS@
127
168
GST_DEPENDS_LIBS = @GST_DEPENDS_LIBS@
 
169
GST_IW_LIBS = @GST_IW_LIBS@
128
170
GST_LIBS = @GST_LIBS@
129
171
GST_TOOL_CFLAGS = @GST_TOOL_CFLAGS@
130
172
GST_TOOL_CLEANFILES = @GST_TOOL_CLEANFILES@
139
181
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
140
182
INSTOBJEXT = @INSTOBJEXT@
141
183
INTLLIBS = @INTLLIBS@
 
184
INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
 
185
INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
 
186
INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
142
187
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
 
188
INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
 
189
INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
143
190
INTLTOOL_MERGE = @INTLTOOL_MERGE@
 
191
INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
144
192
INTLTOOL_PERL = @INTLTOOL_PERL@
 
193
INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
 
194
INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
 
195
INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
 
196
INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
 
197
INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
 
198
INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
 
199
INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
 
200
INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
 
201
INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
 
202
INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
145
203
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
 
204
INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
 
205
INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
 
206
INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
146
207
LD = @LD@
147
208
LDFLAGS = @LDFLAGS@
148
209
LIBOBJS = @LIBOBJS@
253
314
        $(DOC_LINGUAS))
254
315
 
255
316
_DOC_ABS_SRCDIR = @abs_srcdir@
256
 
_xml2po_mode = $(if $(DOC_ID),mallard,docbook)
257
317
@ENABLE_SK_TRUE@_ENABLE_SK = true
258
318
 
259
319
################################################################################
287
347
 
288
348
################################################################################
289
349
_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
290
 
_DOC_C_PAGES = $(foreach page,$(DOC_PAGES),C/$(page))
291
350
_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
292
351
_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
293
352
_DOC_C_DOCS = \
294
353
        $(_DOC_C_ENTITIES)      $(_DOC_C_INCLUDES)                      \
295
 
        $(_DOC_C_PAGES)         $(_DOC_C_MODULE)
 
354
        $(_DOC_C_MODULE)
296
355
 
297
356
_DOC_C_DOCS_NOENT = \
298
 
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)                      \
299
 
        $(_DOC_C_PAGES)
 
357
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)
300
358
 
301
359
_DOC_C_FIGURES = $(if $(DOC_FIGURES),                                   \
302
360
        $(foreach fig,$(DOC_FIGURES),C/$(fig)),                         \
312
370
 
313
371
 
314
372
###############################################################################
315
 
_DOC_POFILES = $(if $(DOC_MODULE)$(DOC_ID),                                     \
 
373
_DOC_POFILES = $(if $(DOC_MODULE),                                              \
316
374
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
317
375
 
318
 
_DOC_MOFILES = $(patsubst %.po,%.mo,$(_DOC_POFILES))
319
376
_DOC_LC_MODULES = $(if $(DOC_MODULE),                                           \
320
377
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
321
378
 
322
 
_DOC_LC_PAGES = \
323
 
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES),       \
324
 
                $(lc)/$(notdir $(page)) ))
325
 
 
326
379
_DOC_LC_INCLUDES = \
327
380
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES),     \
328
381
                $(lc)/$(notdir $(inc)) ))
334
387
                $(lc)/$(notdir $(doc)) ))
335
388
 
336
389
_DOC_LC_DOCS = \
337
 
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)     $(_DOC_LC_PAGES)        \
 
390
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)                             \
338
391
        $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
339
392
 
340
393
_DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS),                            \
354
407
_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
355
408
_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
356
409
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
357
 
_clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir)
358
 
_doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE))
 
410
_clean_dir = $(if $(DOC_MODULE),clean-doc-dir)
359
411
DOC_MODULE = time-admin
360
412
DOC_ENTITIES = legal.xml
361
413
DOC_INCLUDES = 
366
418
        figures/time-tool-manual.png
367
419
 
368
420
DOC_LINGUAS = ca cs de el en_GB es fr it oc pt_BR ru sv zh_CN
369
 
all: all-am
 
421
 
 
422
# This isn't still ported to gnome-doc-utils
 
423
SUBDIRS = nl
 
424
all: all-recursive
370
425
 
371
426
.SUFFIXES:
372
427
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gnome-doc-utils.make $(am__configure_deps)
405
460
 
406
461
clean-libtool:
407
462
        -rm -rf .libs _libs
 
463
 
 
464
# This directory's subdirectories are mostly independent; you can cd
 
465
# into them and run `make' without going through this Makefile.
 
466
# To change the values of `make' variables: instead of editing Makefiles,
 
467
# (1) if the variable is set in `config.status', edit `config.status'
 
468
#     (which will cause the Makefiles to be regenerated when you run `make');
 
469
# (2) otherwise, pass the desired values on the `make' command line.
 
470
$(RECURSIVE_TARGETS):
 
471
        @fail= failcom='exit 1'; \
 
472
        for f in x $$MAKEFLAGS; do \
 
473
          case $$f in \
 
474
            *=* | --[!k]*);; \
 
475
            *k*) failcom='fail=yes';; \
 
476
          esac; \
 
477
        done; \
 
478
        dot_seen=no; \
 
479
        target=`echo $@ | sed s/-recursive//`; \
 
480
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
481
          echo "Making $$target in $$subdir"; \
 
482
          if test "$$subdir" = "."; then \
 
483
            dot_seen=yes; \
 
484
            local_target="$$target-am"; \
 
485
          else \
 
486
            local_target="$$target"; \
 
487
          fi; \
 
488
          ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
489
          || eval $$failcom; \
 
490
        done; \
 
491
        if test "$$dot_seen" = "no"; then \
 
492
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
 
493
        fi; test -z "$$fail"
 
494
 
 
495
$(RECURSIVE_CLEAN_TARGETS):
 
496
        @fail= failcom='exit 1'; \
 
497
        for f in x $$MAKEFLAGS; do \
 
498
          case $$f in \
 
499
            *=* | --[!k]*);; \
 
500
            *k*) failcom='fail=yes';; \
 
501
          esac; \
 
502
        done; \
 
503
        dot_seen=no; \
 
504
        case "$@" in \
 
505
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
 
506
          *) list='$(SUBDIRS)' ;; \
 
507
        esac; \
 
508
        rev=''; for subdir in $$list; do \
 
509
          if test "$$subdir" = "."; then :; else \
 
510
            rev="$$subdir $$rev"; \
 
511
          fi; \
 
512
        done; \
 
513
        rev="$$rev ."; \
 
514
        target=`echo $@ | sed s/-recursive//`; \
 
515
        for subdir in $$rev; do \
 
516
          echo "Making $$target in $$subdir"; \
 
517
          if test "$$subdir" = "."; then \
 
518
            local_target="$$target-am"; \
 
519
          else \
 
520
            local_target="$$target"; \
 
521
          fi; \
 
522
          ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
523
          || eval $$failcom; \
 
524
        done && test -z "$$fail"
 
525
tags-recursive:
 
526
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
527
          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 
528
        done
 
529
ctags-recursive:
 
530
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
531
          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 
532
        done
 
533
 
 
534
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
 
535
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
 
536
        unique=`for i in $$list; do \
 
537
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
538
          done | \
 
539
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
540
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
541
        mkid -fID $$unique
408
542
tags: TAGS
409
 
TAGS:
410
543
 
 
544
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
545
                $(TAGS_FILES) $(LISP)
 
546
        set x; \
 
547
        here=`pwd`; \
 
548
        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 
549
          include_option=--etags-include; \
 
550
          empty_fix=.; \
 
551
        else \
 
552
          include_option=--include; \
 
553
          empty_fix=; \
 
554
        fi; \
 
555
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
556
          if test "$$subdir" = .; then :; else \
 
557
            test ! -f $$subdir/TAGS || \
 
558
              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
 
559
          fi; \
 
560
        done; \
 
561
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
562
        unique=`for i in $$list; do \
 
563
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
564
          done | \
 
565
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
566
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
567
        shift; \
 
568
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
 
569
          test -n "$$unique" || unique=$$empty_fix; \
 
570
          if test $$# -gt 0; then \
 
571
            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
 
572
              "$$@" $$unique; \
 
573
          else \
 
574
            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
 
575
              $$unique; \
 
576
          fi; \
 
577
        fi
411
578
ctags: CTAGS
412
 
CTAGS:
413
 
 
 
579
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
580
                $(TAGS_FILES) $(LISP)
 
581
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 
582
        unique=`for i in $$list; do \
 
583
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
584
          done | \
 
585
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
 
586
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
587
        test -z "$(CTAGS_ARGS)$$unique" \
 
588
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
 
589
             $$unique
 
590
 
 
591
GTAGS:
 
592
        here=`$(am__cd) $(top_builddir) && pwd` \
 
593
          && $(am__cd) $(top_srcdir) \
 
594
          && gtags -i $(GTAGS_ARGS) "$$here"
 
595
 
 
596
distclean-tags:
 
597
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
414
598
 
415
599
distdir: $(DISTFILES)
416
600
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
442
626
            || exit 1; \
443
627
          fi; \
444
628
        done
 
629
        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 
630
          if test "$$subdir" = .; then :; else \
 
631
            test -d "$(distdir)/$$subdir" \
 
632
            || $(MKDIR_P) "$(distdir)/$$subdir" \
 
633
            || exit 1; \
 
634
          fi; \
 
635
        done
 
636
        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 
637
          if test "$$subdir" = .; then :; else \
 
638
            dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
 
639
            $(am__relativize); \
 
640
            new_distdir=$$reldir; \
 
641
            dir1=$$subdir; dir2="$(top_distdir)"; \
 
642
            $(am__relativize); \
 
643
            new_top_distdir=$$reldir; \
 
644
            echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
 
645
            echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
 
646
            ($(am__cd) $$subdir && \
 
647
              $(MAKE) $(AM_MAKEFLAGS) \
 
648
                top_distdir="$$new_top_distdir" \
 
649
                distdir="$$new_distdir" \
 
650
                am__remove_distdir=: \
 
651
                am__skip_length_check=: \
 
652
                am__skip_mode_fix=: \
 
653
                distdir) \
 
654
              || exit 1; \
 
655
          fi; \
 
656
        done
445
657
        $(MAKE) $(AM_MAKEFLAGS) \
446
658
          top_distdir="$(top_distdir)" distdir="$(distdir)" \
447
659
          dist-hook
448
660
check-am: all-am
449
 
check: check-am
 
661
check: check-recursive
450
662
all-am: Makefile
451
 
installdirs:
452
 
install: install-am
453
 
install-exec: install-exec-am
454
 
install-data: install-data-am
455
 
uninstall: uninstall-am
 
663
installdirs: installdirs-recursive
 
664
installdirs-am:
 
665
install: install-recursive
 
666
install-exec: install-exec-recursive
 
667
install-data: install-data-recursive
 
668
uninstall: uninstall-recursive
456
669
 
457
670
install-am: all-am
458
671
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
459
672
 
460
 
installcheck: installcheck-am
 
673
installcheck: installcheck-recursive
461
674
install-strip:
462
675
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
463
676
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
474
687
maintainer-clean-generic:
475
688
        @echo "This command is intended for maintainers to use"
476
689
        @echo "it deletes files that may require special tools to rebuild."
477
 
clean: clean-am
 
690
clean: clean-recursive
478
691
 
479
692
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
480
693
 
481
 
distclean: distclean-am
 
694
distclean: distclean-recursive
482
695
        -rm -f Makefile
483
 
distclean-am: clean-am distclean-generic distclean-local
 
696
distclean-am: clean-am distclean-generic distclean-local \
 
697
        distclean-tags
484
698
 
485
 
dvi: dvi-am
 
699
dvi: dvi-recursive
486
700
 
487
701
dvi-am:
488
702
 
489
 
html: html-am
 
703
html: html-recursive
490
704
 
491
705
html-am:
492
706
 
493
 
info: info-am
 
707
info: info-recursive
494
708
 
495
709
info-am:
496
710
 
497
711
install-data-am: install-data-local
498
712
 
499
 
install-dvi: install-dvi-am
 
713
install-dvi: install-dvi-recursive
500
714
 
501
715
install-dvi-am:
502
716
 
503
717
install-exec-am:
504
718
 
505
 
install-html: install-html-am
 
719
install-html: install-html-recursive
506
720
 
507
721
install-html-am:
508
722
 
509
 
install-info: install-info-am
 
723
install-info: install-info-recursive
510
724
 
511
725
install-info-am:
512
726
 
513
727
install-man:
514
728
 
515
 
install-pdf: install-pdf-am
 
729
install-pdf: install-pdf-recursive
516
730
 
517
731
install-pdf-am:
518
732
 
519
 
install-ps: install-ps-am
 
733
install-ps: install-ps-recursive
520
734
 
521
735
install-ps-am:
522
736
 
523
737
installcheck-am:
524
738
 
525
 
maintainer-clean: maintainer-clean-am
 
739
maintainer-clean: maintainer-clean-recursive
526
740
        -rm -f Makefile
527
741
maintainer-clean-am: distclean-am maintainer-clean-generic \
528
742
        maintainer-clean-local
529
743
 
530
 
mostlyclean: mostlyclean-am
 
744
mostlyclean: mostlyclean-recursive
531
745
 
532
746
mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
533
747
        mostlyclean-local
534
748
 
535
 
pdf: pdf-am
 
749
pdf: pdf-recursive
536
750
 
537
751
pdf-am:
538
752
 
539
 
ps: ps-am
 
753
ps: ps-recursive
540
754
 
541
755
ps-am:
542
756
 
543
757
uninstall-am: uninstall-local
544
758
 
545
 
.MAKE: install-am install-strip
 
759
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
 
760
        install-am install-strip tags-recursive
546
761
 
547
 
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
548
 
        clean-local dist-hook distclean distclean-generic \
549
 
        distclean-libtool distclean-local distdir dvi dvi-am html \
550
 
        html-am info info-am install install-am install-data \
551
 
        install-data-am install-data-local install-dvi install-dvi-am \
552
 
        install-exec install-exec-am install-html install-html-am \
553
 
        install-info install-info-am install-man install-pdf \
554
 
        install-pdf-am install-ps install-ps-am install-strip \
555
 
        installcheck installcheck-am installdirs maintainer-clean \
 
762
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
 
763
        all all-am check check-am clean clean-generic clean-libtool \
 
764
        clean-local ctags ctags-recursive dist-hook distclean \
 
765
        distclean-generic distclean-libtool distclean-local \
 
766
        distclean-tags distdir dvi dvi-am html html-am info info-am \
 
767
        install install-am install-data install-data-am \
 
768
        install-data-local install-dvi install-dvi-am install-exec \
 
769
        install-exec-am install-html install-html-am install-info \
 
770
        install-info-am install-man install-pdf install-pdf-am \
 
771
        install-ps install-ps-am install-strip installcheck \
 
772
        installcheck-am installdirs installdirs-am maintainer-clean \
556
773
        maintainer-clean-generic maintainer-clean-local mostlyclean \
557
774
        mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
558
 
        pdf-am ps ps-am uninstall uninstall-am uninstall-local
 
775
        pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
 
776
        uninstall-local
559
777
 
560
778
 
561
779
DOC_H_FILE ?=
616
834
 
617
835
DOC_MODULE ?=
618
836
 
619
 
DOC_ID ?=
620
 
 
621
 
DOC_PAGES ?=
622
 
 
623
837
DOC_ENTITIES ?=
624
838
 
625
839
DOC_INCLUDES ?=
636
850
 
637
851
_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
638
852
_db2omf  ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
639
 
_malrng  ?= `$(PKG_CONFIG) --variable malrng gnome-doc-utils`
640
853
_chunks  ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
641
854
_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
642
855
_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl
666
879
.PHONY: po
667
880
po: $(_DOC_POFILES)
668
881
 
669
 
.PHONY: mo
670
 
mo: $(_DOC_MOFILES)
671
 
 
672
882
$(_DOC_POFILES):
673
883
        @if ! test -d $(dir $@); then \
674
884
          echo "mkdir $(dir $@)"; \
684
894
        done; \
685
895
        if ! test -f $@; then \
686
896
          echo "(cd $(dir $@) && \
687
 
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
 
897
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
688
898
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
689
899
          (cd $(dir $@) && \
690
 
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
 
900
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
691
901
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
692
902
        else \
693
903
          echo "(cd $(dir $@) && \
694
 
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs)"; \
 
904
            $(_xml2po) -e -u $(notdir $@) $$docs)"; \
695
905
          (cd $(dir $@) && \
696
 
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \
697
 
        fi
698
 
 
699
 
$(_DOC_MOFILES): %.mo: %.po
700
 
        @if ! test -d $(dir $@); then \
701
 
          echo "mkdir $(dir $@)"; \
702
 
          mkdir "$(dir $@)"; \
703
 
        fi
704
 
        msgfmt -o $@ $<
 
906
            $(_xml2po) -e -u $(notdir $@) $$docs); \
 
907
        fi
705
908
 
706
909
# FIXME: fix the dependancy
707
910
# FIXME: hook xml2po up
708
 
$(_DOC_LC_DOCS) : $(_DOC_MOFILES)
 
911
$(_DOC_LC_DOCS) : $(_DOC_POFILES)
709
912
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
710
913
        if ! test -d $(dir $@); then mkdir $(dir $@); fi
711
914
        if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
712
 
        mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
713
 
        if [ -f "$${mo}" ]; then mo="../$${mo}"; else mo="$(_DOC_ABS_SRCDIR)/$${mo}"; fi; \
714
915
        (cd $(dir $@) && \
715
 
          $(_xml2po) -m $(_xml2po_mode) -e -t "$${mo}" \
 
916
          $(_xml2po) -e -p \
 
917
            "$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
716
918
            "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
717
919
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
718
920
.PHONY: pot
719
921
pot: $(_DOC_POT)
720
922
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
721
 
        $(_xml2po) -m $(_xml2po_mode) -e -o $@ $^
 
923
        $(_xml2po) -e -o $@ $^
722
924
 
723
925
$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
724
926
        xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
730
932
        $(_DOC_OMF_ALL)         $(_DOC_DSK_ALL)         \
731
933
        $(_DOC_HTML_ALL)        $(_DOC_POFILES)
732
934
 
733
 
################################################################################
734
 
 
735
935
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
736
936
 
737
937
clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
738
938
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
739
939
clean-doc-lc:
740
940
        rm -f $(_DOC_LC_DOCS)
741
 
        rm -f $(_DOC_MOFILES)
742
941
        @list='$(_DOC_POFILES)'; for po in $$list; do \
743
942
          if ! test "$$po" -ef "$(srcdir)/$$po"; then \
744
943
            echo "rm -f $$po"; \
745
944
            rm -f "$$po"; \
746
945
          fi; \
747
946
        done
748
 
#       .xml2.po.mo cleaning is obsolete as of 0.18.1 and could be removed in 0.20.x
749
947
        @for lc in C $(_DOC_REAL_LINGUAS); do \
750
948
          if test -f "$$lc/.xml2po.mo"; then \
751
949
            echo "rm -f $$lc/.xml2po.mo"; \
752
950
            rm -f "$$lc/.xml2po.mo"; \
753
951
          fi; \
754
952
        done
755
 
clean-doc-dir: clean-doc-lc
 
953
clean-doc-dir:
756
954
        @for lc in C $(_DOC_REAL_LINGUAS); do \
757
955
          for dir in `find $$lc -depth -type d`; do \
758
956
            if ! test $$dir -ef $(srcdir)/$$dir; then \
775
973
        $(_clean_omf)           $(_clean_dsk)           \
776
974
        $(_clean_lc)            $(_clean_dir)
777
975
 
778
 
################################################################################
779
 
 
780
 
.PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk
781
 
doc-dist-hook:                                          \
782
 
        $(if $(DOC_MODULE)$(DOC_ID),dist-doc-docs)      \
783
 
        $(if $(_DOC_C_FIGURES),dist-doc-figs)           \
 
976
.PHONY: dist-doc-docs dist-doc-figs dist-doc-omf dist-doc-dsk
 
977
doc-dist-hook:                                  \
 
978
        $(if $(DOC_MODULE),dist-doc-docs)       \
 
979
        $(if $(_DOC_C_FIGURES),dist-doc-figs)   \
784
980
        $(if $(_DOC_OMF_IN),dist-doc-omf)
785
981
#       $(if $(_DOC_DSK_IN),dist-doc-dsk)
786
982
 
826
1022
        echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
827
1023
        $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
828
1024
 
829
 
################################################################################
830
 
 
831
1025
.PHONY: check-doc-docs check-doc-omf
832
1026
check:                                                  \
833
1027
        $(if $(DOC_MODULE),check-doc-docs)              \
834
 
        $(if $(DOC_ID),check-doc-pages)                 \
835
1028
        $(if $(_DOC_OMF_IN),check-doc-omf)
836
1029
 
837
1030
check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
847
1040
          xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
848
1041
        done
849
1042
 
850
 
check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES)
851
 
        for lc in C $(_DOC_REAL_LINGUAS); do \
852
 
          if test -f "$$lc"; \
853
 
            then d=; \
854
 
            xmlpath="$$lc"; \
855
 
          else \
856
 
            d="$(srcdir)/"; \
857
 
            xmlpath="$$lc:$(srcdir)/$$lc"; \
858
 
          fi; \
859
 
          for page in $(DOC_PAGES); do \
860
 
            echo "xmllint --noout --noent --path $$xmlpath --xinclude --relaxng $(_malrng) $$d$$lc/$$page"; \
861
 
            xmllint --noout --noent --path "$$xmlpath" --xinclude --relaxng "$(_malrng)" "$$d$$lc/$$page"; \
862
 
          done; \
863
 
        done
864
 
 
865
1043
check-doc-omf: $(_DOC_OMF_ALL)
866
1044
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
867
1045
          echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
868
1046
          xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
869
1047
        done
870
1048
 
871
 
################################################################################
872
 
 
873
1049
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
874
 
 
875
1050
install-data-local:                                     \
876
 
        $(if $(DOC_MODULE)$(DOC_ID),install-doc-docs)   \
 
1051
        $(if $(DOC_MODULE),install-doc-docs)            \
877
1052
        $(if $(_DOC_HTML_ALL),install-doc-html)         \
878
1053
        $(if $(_DOC_C_FIGURES),install-doc-figs)        \
879
1054
        $(if $(_DOC_OMF_IN),install-doc-omf)
881
1056
 
882
1057
install-doc-docs:
883
1058
        @for lc in C $(_DOC_REAL_LINGUAS); do \
884
 
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \
885
 
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \
 
1059
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
 
1060
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc; \
886
1061
        done
887
1062
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
888
1063
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
889
1064
          docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
890
 
          docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
 
1065
          docdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$docdir"; \
891
1066
          if ! test -d "$$docdir"; then \
892
1067
            echo "$(mkinstalldirs) $$docdir"; \
893
1068
            $(mkinstalldirs) "$$docdir"; \
894
1069
          fi; \
895
 
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
896
 
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
 
1070
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
1071
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \
897
1072
        done
898
1073
 
899
1074
install-doc-figs:
908
1083
              figsymlink=true; \
909
1084
            fi; \
910
1085
            figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
911
 
            figdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$figdir"; \
 
1086
            figdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$figdir"; \
912
1087
            if ! test -d "$$figdir"; then \
913
1088
              echo "$(mkinstalldirs) $$figdir"; \
914
1089
              $(mkinstalldirs) "$$figdir"; \
928
1103
        echo install-html
929
1104
 
930
1105
install-doc-omf:
931
 
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)
 
1106
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)
932
1107
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
933
 
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
934
 
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf; \
 
1108
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
1109
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf; \
935
1110
        done
936
1111
        @if test "x$(_ENABLE_SK)" = "xtrue"; then \
937
 
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
938
 
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
 
1112
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
1113
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
939
1114
        fi;
940
1115
 
941
1116
install-doc-dsk:
942
1117
        echo install-dsk
943
1118
 
944
 
################################################################################
945
 
 
946
1119
.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
947
1120
uninstall-local:                                        \
948
 
        $(if $(DOC_MODULE)$(DOC_ID),uninstall-doc-docs) \
 
1121
        $(if $(DOC_MODULE),uninstall-doc-docs)          \
949
1122
        $(if $(_DOC_HTML_ALL),uninstall-doc-html)       \
950
1123
        $(if $(_DOC_C_FIGURES),uninstall-doc-figs)      \
951
1124
        $(if $(_DOC_OMF_IN),uninstall-doc-omf)
953
1126
 
954
1127
uninstall-doc-docs:
955
1128
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
956
 
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
957
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
 
1129
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
1130
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
958
1131
        done
959
1132
 
960
1133
uninstall-doc-figs:
961
1134
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
962
 
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
963
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
 
1135
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
 
1136
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
964
1137
        done;
965
1138
 
966
1139
uninstall-doc-omf:
967
1140
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
968
1141
          if test "x$(_ENABLE_SK)" = "xtrue"; then \
969
 
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
970
 
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
1142
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
1143
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
971
1144
          fi; \
972
 
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
973
 
          rm -f "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
1145
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
1146
          rm -f "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
974
1147
        done
975
1148
dist-hook: doc-dist-hook
976
1149