~ubuntu-branches/ubuntu/natty/gnome-applets/natty

« back to all changes in this revision

Viewing changes to accessx-status/docs/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-01-14 20:41:45 UTC
  • mfrom: (1.10.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100114204145-uh3guzbpgmguw5eg
Tags: 2.29.5-0ubuntu1
* New upstream version:
  Note: the gswitchit applet has been removed, and is now replaced by a
  notification icon displayed by gnome-settings-daemon.
  Drivemount Applet:
  - Remove deprecated glib symbols 
  Invest Applet:
  - Use proper labels for the chart selection combo-box 
  Sticky Notes:
  - More fixes for duplicate labels in the .ui file 
  Weather Applet:
  - Fix weather applet preferences find function 
* debian/control.in:
  - clean libxklavier and libgnomekbd build requirements
  - updated description for the gnome-keyboard-applet change
  - updated libglib requirement
* debian/gnome-applets.gconf-defaults:
  - don't set a battstat key since the applet is deprecated
* debian/gnome-keyboard-layout.xml:
  - dropped since the applet is deprecated
* debian/patches/00sticknotes_ui.patch:
  - dropped, the change is in the new version
* debian/patches/98_autoreconf.patch:
  - new version update
* debian/rules:
  - don't build the manpage for gnome-keyboard-applet

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.10.2 from Makefile.am.
 
1
# Makefile.in generated by automake 1.11 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
 
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
5
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
 
6
# Inc.
6
7
# This Makefile.in is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy and/or distribute it,
8
9
# with or without modifications, as long as this notice is preserved.
38
39
 
39
40
################################################################################
40
41
VPATH = @srcdir@
 
42
pkgincludedir = $(includedir)/@PACKAGE@
41
43
pkglibdir = $(libdir)/@PACKAGE@
42
 
pkgincludedir = $(includedir)/@PACKAGE@
 
44
pkglibexecdir = $(libexecdir)/@PACKAGE@
43
45
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
44
46
install_sh_DATA = $(install_sh) -c -m 644
45
47
install_sh_PROGRAM = $(install_sh) -c
70
72
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
71
73
CONFIG_HEADER = $(top_builddir)/config.h
72
74
CONFIG_CLEAN_FILES =
 
75
CONFIG_CLEAN_VPATH_FILES =
73
76
SOURCES =
74
77
DIST_SOURCES =
75
78
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
163
166
LDFLAGS = @LDFLAGS@
164
167
LIBCPUFREQ_LIBS = @LIBCPUFREQ_LIBS@
165
168
LIBDIR = @LIBDIR@
166
 
LIBGNOMEKBDUI_CFLAGS = @LIBGNOMEKBDUI_CFLAGS@
167
 
LIBGNOMEKBDUI_LIBS = @LIBGNOMEKBDUI_LIBS@
168
169
LIBGWEATHER_CFLAGS = @LIBGWEATHER_CFLAGS@
169
170
LIBGWEATHER_LIBS = @LIBGWEATHER_LIBS@
170
171
LIBNOTIFY_CFLAGS = @LIBNOTIFY_CFLAGS@
308
309
        $(DOC_LINGUAS))
309
310
 
310
311
_DOC_ABS_SRCDIR = @abs_srcdir@
 
312
_xml2po_mode = $(if $(DOC_ID),mallard,docbook)
311
313
@ENABLE_SK_TRUE@_ENABLE_SK = true
312
314
 
313
315
################################################################################
341
343
 
342
344
################################################################################
343
345
_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
 
346
_DOC_C_PAGES = $(foreach page,$(DOC_PAGES),C/$(page))
344
347
_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
345
348
_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
346
349
_DOC_C_DOCS = \
347
350
        $(_DOC_C_ENTITIES)      $(_DOC_C_INCLUDES)                      \
348
 
        $(_DOC_C_MODULE)
 
351
        $(_DOC_C_PAGES)         $(_DOC_C_MODULE)
349
352
 
350
353
_DOC_C_DOCS_NOENT = \
351
 
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)
 
354
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)                      \
 
355
        $(_DOC_C_PAGES)
352
356
 
353
357
_DOC_C_FIGURES = $(if $(DOC_FIGURES),                                   \
354
358
        $(foreach fig,$(DOC_FIGURES),C/$(fig)),                         \
364
368
 
365
369
 
366
370
###############################################################################
367
 
_DOC_POFILES = $(if $(DOC_MODULE),                                              \
 
371
_DOC_POFILES = $(if $(DOC_MODULE)$(DOC_ID),                                     \
368
372
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
369
373
 
 
374
_DOC_MOFILES = $(patsubst %.po,%.mo,$(_DOC_POFILES))
370
375
_DOC_LC_MODULES = $(if $(DOC_MODULE),                                           \
371
376
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
372
377
 
 
378
_DOC_LC_PAGES = \
 
379
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES),       \
 
380
                $(lc)/$(notdir $(page)) ))
 
381
 
373
382
_DOC_LC_INCLUDES = \
374
383
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES),     \
375
384
                $(lc)/$(notdir $(inc)) ))
381
390
                $(lc)/$(notdir $(doc)) ))
382
391
 
383
392
_DOC_LC_DOCS = \
384
 
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)                             \
 
393
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)     $(_DOC_LC_PAGES)        \
385
394
        $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
386
395
 
387
396
_DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS),                            \
401
410
_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
402
411
_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
403
412
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
404
 
_clean_dir = $(if $(DOC_MODULE),clean-doc-dir)
 
413
_clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir)
 
414
_doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE))
405
415
DOC_MODULE = accessx-status
406
416
DOC_ENTITIES = legal.xml
407
417
DOC_FIGURES = figures/accessx_bounce-keys.png \
429
439
              exit 1;; \
430
440
          esac; \
431
441
        done; \
432
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  accessx-status/docs/Makefile'; \
433
 
        cd $(top_srcdir) && \
434
 
          $(AUTOMAKE) --gnu  accessx-status/docs/Makefile
 
442
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu accessx-status/docs/Makefile'; \
 
443
        $(am__cd) $(top_srcdir) && \
 
444
          $(AUTOMAKE) --gnu accessx-status/docs/Makefile
435
445
.PRECIOUS: Makefile
436
446
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
437
447
        @case '$?' in \
449
459
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
450
460
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
451
461
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
462
$(am__aclocal_m4_deps):
452
463
 
453
464
mostlyclean-libtool:
454
465
        -rm -f *.lo
478
489
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
479
490
          if test -d $$d/$$file; then \
480
491
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
492
            if test -d "$(distdir)/$$file"; then \
 
493
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
494
            fi; \
481
495
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
482
 
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
496
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
 
497
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
483
498
            fi; \
484
 
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
499
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
485
500
          else \
486
 
            test -f $(distdir)/$$file \
487
 
            || cp -p $$d/$$file $(distdir)/$$file \
 
501
            test -f "$(distdir)/$$file" \
 
502
            || cp -p $$d/$$file "$(distdir)/$$file" \
488
503
            || exit 1; \
489
504
          fi; \
490
505
        done
515
530
 
516
531
distclean-generic:
517
532
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
533
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
518
534
 
519
535
maintainer-clean-generic:
520
536
        @echo "This command is intended for maintainers to use"
533
549
 
534
550
html: html-am
535
551
 
 
552
html-am:
 
553
 
536
554
info: info-am
537
555
 
538
556
info-am:
541
559
 
542
560
install-dvi: install-dvi-am
543
561
 
 
562
install-dvi-am:
 
563
 
544
564
install-exec-am:
545
565
 
546
566
install-html: install-html-am
547
567
 
 
568
install-html-am:
 
569
 
548
570
install-info: install-info-am
549
571
 
 
572
install-info-am:
 
573
 
550
574
install-man:
551
575
 
552
576
install-pdf: install-pdf-am
553
577
 
 
578
install-pdf-am:
 
579
 
554
580
install-ps: install-ps-am
555
581
 
 
582
install-ps-am:
 
583
 
556
584
installcheck-am:
557
585
 
558
586
maintainer-clean: maintainer-clean-am
649
677
 
650
678
DOC_MODULE ?=
651
679
 
 
680
DOC_ID ?=
 
681
 
 
682
DOC_PAGES ?=
 
683
 
652
684
DOC_ENTITIES ?=
653
685
 
654
686
DOC_INCLUDES ?=
665
697
 
666
698
_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
667
699
_db2omf  ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
 
700
_malrng  ?= `$(PKG_CONFIG) --variable malrng gnome-doc-utils`
668
701
_chunks  ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
669
702
_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
670
703
_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl
694
727
.PHONY: po
695
728
po: $(_DOC_POFILES)
696
729
 
 
730
.PHONY: mo
 
731
mo: $(_DOC_MOFILES)
 
732
 
697
733
$(_DOC_POFILES):
698
734
        @if ! test -d $(dir $@); then \
699
735
          echo "mkdir $(dir $@)"; \
709
745
        done; \
710
746
        if ! test -f $@; then \
711
747
          echo "(cd $(dir $@) && \
712
 
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
748
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
713
749
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
714
750
          (cd $(dir $@) && \
715
 
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
751
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
716
752
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
717
753
        else \
718
754
          echo "(cd $(dir $@) && \
719
 
            $(_xml2po) -e -u $(notdir $@) $$docs)"; \
 
755
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs)"; \
720
756
          (cd $(dir $@) && \
721
 
            $(_xml2po) -e -u $(notdir $@) $$docs); \
722
 
        fi
 
757
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \
 
758
        fi
 
759
 
 
760
$(_DOC_MOFILES): %.mo: %.po
 
761
        @if ! test -d $(dir $@); then \
 
762
          echo "mkdir $(dir $@)"; \
 
763
          mkdir "$(dir $@)"; \
 
764
        fi
 
765
        msgfmt -o $@ $<
723
766
 
724
767
# FIXME: fix the dependancy
725
768
# FIXME: hook xml2po up
726
 
$(_DOC_LC_DOCS) : $(_DOC_POFILES)
 
769
$(_DOC_LC_DOCS) : $(_DOC_MOFILES)
727
770
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
728
771
        if ! test -d $(dir $@); then mkdir $(dir $@); fi
729
772
        if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
 
773
        mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
 
774
        if [ -f "$${mo}" ]; then mo="../$${mo}"; else mo="$(_DOC_ABS_SRCDIR)/$${mo}"; fi; \
730
775
        (cd $(dir $@) && \
731
 
          $(_xml2po) -e -p \
732
 
            "$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
 
776
          $(_xml2po) -m $(_xml2po_mode) -e -t "$${mo}" \
733
777
            "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
734
778
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
735
779
.PHONY: pot
736
780
pot: $(_DOC_POT)
737
781
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
738
 
        $(_xml2po) -e -o $@ $^
 
782
        $(_xml2po) -m $(_xml2po_mode) -e -o $@ $^
739
783
 
740
784
$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
741
785
        xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
747
791
        $(_DOC_OMF_ALL)         $(_DOC_DSK_ALL)         \
748
792
        $(_DOC_HTML_ALL)        $(_DOC_POFILES)
749
793
 
 
794
################################################################################
 
795
 
750
796
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
751
797
 
752
798
clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
753
799
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
754
800
clean-doc-lc:
755
801
        rm -f $(_DOC_LC_DOCS)
 
802
        rm -f $(_DOC_MOFILES)
756
803
        @list='$(_DOC_POFILES)'; for po in $$list; do \
757
804
          if ! test "$$po" -ef "$(srcdir)/$$po"; then \
758
805
            echo "rm -f $$po"; \
759
806
            rm -f "$$po"; \
760
807
          fi; \
761
808
        done
 
809
#       .xml2.po.mo cleaning is obsolete as of 0.18.1 and could be removed in 0.20.x
762
810
        @for lc in C $(_DOC_REAL_LINGUAS); do \
763
811
          if test -f "$$lc/.xml2po.mo"; then \
764
812
            echo "rm -f $$lc/.xml2po.mo"; \
765
813
            rm -f "$$lc/.xml2po.mo"; \
766
814
          fi; \
767
815
        done
768
 
clean-doc-dir:
 
816
clean-doc-dir: clean-doc-lc
769
817
        @for lc in C $(_DOC_REAL_LINGUAS); do \
770
818
          for dir in `find $$lc -depth -type d`; do \
771
819
            if ! test $$dir -ef $(srcdir)/$$dir; then \
788
836
        $(_clean_omf)           $(_clean_dsk)           \
789
837
        $(_clean_lc)            $(_clean_dir)
790
838
 
791
 
.PHONY: dist-doc-docs dist-doc-figs dist-doc-omf dist-doc-dsk
792
 
doc-dist-hook:                                  \
793
 
        $(if $(DOC_MODULE),dist-doc-docs)       \
794
 
        $(if $(_DOC_C_FIGURES),dist-doc-figs)   \
 
839
################################################################################
 
840
 
 
841
.PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk
 
842
doc-dist-hook:                                          \
 
843
        $(if $(DOC_MODULE)$(DOC_ID),dist-doc-docs)      \
 
844
        $(if $(_DOC_C_FIGURES),dist-doc-figs)           \
795
845
        $(if $(_DOC_OMF_IN),dist-doc-omf)
796
846
#       $(if $(_DOC_DSK_IN),dist-doc-dsk)
797
847
 
837
887
        echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
838
888
        $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
839
889
 
 
890
################################################################################
 
891
 
840
892
.PHONY: check-doc-docs check-doc-omf
841
893
check:                                                  \
842
894
        $(if $(DOC_MODULE),check-doc-docs)              \
 
895
        $(if $(DOC_ID),check-doc-pages)                 \
843
896
        $(if $(_DOC_OMF_IN),check-doc-omf)
844
897
 
845
898
check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
855
908
          xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
856
909
        done
857
910
 
 
911
check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES)
 
912
        for lc in C $(_DOC_REAL_LINGUAS); do \
 
913
          if test -f "$$lc"; \
 
914
            then d=; \
 
915
            xmlpath="$$lc"; \
 
916
          else \
 
917
            d="$(srcdir)/"; \
 
918
            xmlpath="$$lc:$(srcdir)/$$lc"; \
 
919
          fi; \
 
920
          for page in $(DOC_PAGES); do \
 
921
            echo "xmllint --noout --noent --path $$xmlpath --xinclude --relaxng $(_malrng) $$d$$lc/$$page"; \
 
922
            xmllint --noout --noent --path "$$xmlpath" --xinclude --relaxng "$(_malrng)" "$$d$$lc/$$page"; \
 
923
          done; \
 
924
        done
 
925
 
858
926
check-doc-omf: $(_DOC_OMF_ALL)
859
927
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
860
928
          echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
861
929
          xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
862
930
        done
863
931
 
 
932
################################################################################
 
933
 
864
934
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
 
935
 
865
936
install-data-local:                                     \
866
 
        $(if $(DOC_MODULE),install-doc-docs)            \
 
937
        $(if $(DOC_MODULE)$(DOC_ID),install-doc-docs)   \
867
938
        $(if $(_DOC_HTML_ALL),install-doc-html)         \
868
939
        $(if $(_DOC_C_FIGURES),install-doc-figs)        \
869
940
        $(if $(_DOC_OMF_IN),install-doc-omf)
871
942
 
872
943
install-doc-docs:
873
944
        @for lc in C $(_DOC_REAL_LINGUAS); do \
874
 
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
875
 
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc; \
 
945
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \
 
946
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \
876
947
        done
877
948
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
878
949
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
879
950
          docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
880
 
          docdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$docdir"; \
 
951
          docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
881
952
          if ! test -d "$$docdir"; then \
882
953
            echo "$(mkinstalldirs) $$docdir"; \
883
954
            $(mkinstalldirs) "$$docdir"; \
884
955
          fi; \
885
 
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
886
 
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \
 
956
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
 
957
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
887
958
        done
888
959
 
889
960
install-doc-figs:
898
969
              figsymlink=true; \
899
970
            fi; \
900
971
            figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
901
 
            figdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$figdir"; \
 
972
            figdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$figdir"; \
902
973
            if ! test -d "$$figdir"; then \
903
974
              echo "$(mkinstalldirs) $$figdir"; \
904
975
              $(mkinstalldirs) "$$figdir"; \
918
989
        echo install-html
919
990
 
920
991
install-doc-omf:
921
 
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)
 
992
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)
922
993
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
923
 
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
924
 
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf; \
 
994
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
995
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf; \
925
996
        done
926
997
        @if test "x$(_ENABLE_SK)" = "xtrue"; then \
927
 
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
928
 
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
998
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
 
999
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
929
1000
        fi;
930
1001
 
931
1002
install-doc-dsk:
932
1003
        echo install-dsk
933
1004
 
 
1005
################################################################################
 
1006
 
934
1007
.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
935
1008
uninstall-local:                                        \
936
 
        $(if $(DOC_MODULE),uninstall-doc-docs)          \
 
1009
        $(if $(DOC_MODULE)$(DOC_ID),uninstall-doc-docs) \
937
1010
        $(if $(_DOC_HTML_ALL),uninstall-doc-html)       \
938
1011
        $(if $(_DOC_C_FIGURES),uninstall-doc-figs)      \
939
1012
        $(if $(_DOC_OMF_IN),uninstall-doc-omf)
941
1014
 
942
1015
uninstall-doc-docs:
943
1016
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
944
 
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
945
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
1017
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
 
1018
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
946
1019
        done
947
1020
 
948
1021
uninstall-doc-figs:
949
1022
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
950
 
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
951
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
 
1023
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
 
1024
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
952
1025
        done;
953
1026
 
954
1027
uninstall-doc-omf:
955
1028
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
956
1029
          if test "x$(_ENABLE_SK)" = "xtrue"; then \
957
 
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
958
 
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
1030
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
1031
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
959
1032
          fi; \
960
 
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
961
 
          rm -f "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
1033
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
1034
          rm -f "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
962
1035
        done
963
1036
dist-hook: doc-dist-hook
964
1037
 
965
1038
-include $(top_srcdir)/git.mk
 
1039
 
966
1040
# Tell versions [3.59,3.63) of GNU make to not export all variables.
967
1041
# Otherwise a system limit (for SysV at least) may be exceeded.
968
1042
.NOEXPORT: