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

« back to all changes in this revision

Viewing changes to battstat/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 = battstat
406
416
DOC_ENTITIES = legal.xml
407
417
DOC_FIGURES = figures/battstat-applet-expanded.png \
423
433
              exit 1;; \
424
434
          esac; \
425
435
        done; \
426
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  battstat/docs/Makefile'; \
427
 
        cd $(top_srcdir) && \
428
 
          $(AUTOMAKE) --gnu  battstat/docs/Makefile
 
436
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu battstat/docs/Makefile'; \
 
437
        $(am__cd) $(top_srcdir) && \
 
438
          $(AUTOMAKE) --gnu battstat/docs/Makefile
429
439
.PRECIOUS: Makefile
430
440
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
431
441
        @case '$?' in \
443
453
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
444
454
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
445
455
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
456
$(am__aclocal_m4_deps):
446
457
 
447
458
mostlyclean-libtool:
448
459
        -rm -f *.lo
472
483
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
473
484
          if test -d $$d/$$file; then \
474
485
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
486
            if test -d "$(distdir)/$$file"; then \
 
487
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
488
            fi; \
475
489
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
476
 
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
490
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
 
491
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
477
492
            fi; \
478
 
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
493
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
479
494
          else \
480
 
            test -f $(distdir)/$$file \
481
 
            || cp -p $$d/$$file $(distdir)/$$file \
 
495
            test -f "$(distdir)/$$file" \
 
496
            || cp -p $$d/$$file "$(distdir)/$$file" \
482
497
            || exit 1; \
483
498
          fi; \
484
499
        done
509
524
 
510
525
distclean-generic:
511
526
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
527
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
512
528
 
513
529
maintainer-clean-generic:
514
530
        @echo "This command is intended for maintainers to use"
527
543
 
528
544
html: html-am
529
545
 
 
546
html-am:
 
547
 
530
548
info: info-am
531
549
 
532
550
info-am:
535
553
 
536
554
install-dvi: install-dvi-am
537
555
 
 
556
install-dvi-am:
 
557
 
538
558
install-exec-am:
539
559
 
540
560
install-html: install-html-am
541
561
 
 
562
install-html-am:
 
563
 
542
564
install-info: install-info-am
543
565
 
 
566
install-info-am:
 
567
 
544
568
install-man:
545
569
 
546
570
install-pdf: install-pdf-am
547
571
 
 
572
install-pdf-am:
 
573
 
548
574
install-ps: install-ps-am
549
575
 
 
576
install-ps-am:
 
577
 
550
578
installcheck-am:
551
579
 
552
580
maintainer-clean: maintainer-clean-am
643
671
 
644
672
DOC_MODULE ?=
645
673
 
 
674
DOC_ID ?=
 
675
 
 
676
DOC_PAGES ?=
 
677
 
646
678
DOC_ENTITIES ?=
647
679
 
648
680
DOC_INCLUDES ?=
659
691
 
660
692
_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
661
693
_db2omf  ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
 
694
_malrng  ?= `$(PKG_CONFIG) --variable malrng gnome-doc-utils`
662
695
_chunks  ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
663
696
_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
664
697
_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl
688
721
.PHONY: po
689
722
po: $(_DOC_POFILES)
690
723
 
 
724
.PHONY: mo
 
725
mo: $(_DOC_MOFILES)
 
726
 
691
727
$(_DOC_POFILES):
692
728
        @if ! test -d $(dir $@); then \
693
729
          echo "mkdir $(dir $@)"; \
703
739
        done; \
704
740
        if ! test -f $@; then \
705
741
          echo "(cd $(dir $@) && \
706
 
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
742
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
707
743
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
708
744
          (cd $(dir $@) && \
709
 
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
745
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
710
746
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
711
747
        else \
712
748
          echo "(cd $(dir $@) && \
713
 
            $(_xml2po) -e -u $(notdir $@) $$docs)"; \
 
749
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs)"; \
714
750
          (cd $(dir $@) && \
715
 
            $(_xml2po) -e -u $(notdir $@) $$docs); \
716
 
        fi
 
751
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \
 
752
        fi
 
753
 
 
754
$(_DOC_MOFILES): %.mo: %.po
 
755
        @if ! test -d $(dir $@); then \
 
756
          echo "mkdir $(dir $@)"; \
 
757
          mkdir "$(dir $@)"; \
 
758
        fi
 
759
        msgfmt -o $@ $<
717
760
 
718
761
# FIXME: fix the dependancy
719
762
# FIXME: hook xml2po up
720
 
$(_DOC_LC_DOCS) : $(_DOC_POFILES)
 
763
$(_DOC_LC_DOCS) : $(_DOC_MOFILES)
721
764
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
722
765
        if ! test -d $(dir $@); then mkdir $(dir $@); fi
723
766
        if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
 
767
        mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
 
768
        if [ -f "$${mo}" ]; then mo="../$${mo}"; else mo="$(_DOC_ABS_SRCDIR)/$${mo}"; fi; \
724
769
        (cd $(dir $@) && \
725
 
          $(_xml2po) -e -p \
726
 
            "$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
 
770
          $(_xml2po) -m $(_xml2po_mode) -e -t "$${mo}" \
727
771
            "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
728
772
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
729
773
.PHONY: pot
730
774
pot: $(_DOC_POT)
731
775
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
732
 
        $(_xml2po) -e -o $@ $^
 
776
        $(_xml2po) -m $(_xml2po_mode) -e -o $@ $^
733
777
 
734
778
$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
735
779
        xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
741
785
        $(_DOC_OMF_ALL)         $(_DOC_DSK_ALL)         \
742
786
        $(_DOC_HTML_ALL)        $(_DOC_POFILES)
743
787
 
 
788
################################################################################
 
789
 
744
790
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
745
791
 
746
792
clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
747
793
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
748
794
clean-doc-lc:
749
795
        rm -f $(_DOC_LC_DOCS)
 
796
        rm -f $(_DOC_MOFILES)
750
797
        @list='$(_DOC_POFILES)'; for po in $$list; do \
751
798
          if ! test "$$po" -ef "$(srcdir)/$$po"; then \
752
799
            echo "rm -f $$po"; \
753
800
            rm -f "$$po"; \
754
801
          fi; \
755
802
        done
 
803
#       .xml2.po.mo cleaning is obsolete as of 0.18.1 and could be removed in 0.20.x
756
804
        @for lc in C $(_DOC_REAL_LINGUAS); do \
757
805
          if test -f "$$lc/.xml2po.mo"; then \
758
806
            echo "rm -f $$lc/.xml2po.mo"; \
759
807
            rm -f "$$lc/.xml2po.mo"; \
760
808
          fi; \
761
809
        done
762
 
clean-doc-dir:
 
810
clean-doc-dir: clean-doc-lc
763
811
        @for lc in C $(_DOC_REAL_LINGUAS); do \
764
812
          for dir in `find $$lc -depth -type d`; do \
765
813
            if ! test $$dir -ef $(srcdir)/$$dir; then \
782
830
        $(_clean_omf)           $(_clean_dsk)           \
783
831
        $(_clean_lc)            $(_clean_dir)
784
832
 
785
 
.PHONY: dist-doc-docs dist-doc-figs dist-doc-omf dist-doc-dsk
786
 
doc-dist-hook:                                  \
787
 
        $(if $(DOC_MODULE),dist-doc-docs)       \
788
 
        $(if $(_DOC_C_FIGURES),dist-doc-figs)   \
 
833
################################################################################
 
834
 
 
835
.PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk
 
836
doc-dist-hook:                                          \
 
837
        $(if $(DOC_MODULE)$(DOC_ID),dist-doc-docs)      \
 
838
        $(if $(_DOC_C_FIGURES),dist-doc-figs)           \
789
839
        $(if $(_DOC_OMF_IN),dist-doc-omf)
790
840
#       $(if $(_DOC_DSK_IN),dist-doc-dsk)
791
841
 
831
881
        echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
832
882
        $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
833
883
 
 
884
################################################################################
 
885
 
834
886
.PHONY: check-doc-docs check-doc-omf
835
887
check:                                                  \
836
888
        $(if $(DOC_MODULE),check-doc-docs)              \
 
889
        $(if $(DOC_ID),check-doc-pages)                 \
837
890
        $(if $(_DOC_OMF_IN),check-doc-omf)
838
891
 
839
892
check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
849
902
          xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
850
903
        done
851
904
 
 
905
check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES)
 
906
        for lc in C $(_DOC_REAL_LINGUAS); do \
 
907
          if test -f "$$lc"; \
 
908
            then d=; \
 
909
            xmlpath="$$lc"; \
 
910
          else \
 
911
            d="$(srcdir)/"; \
 
912
            xmlpath="$$lc:$(srcdir)/$$lc"; \
 
913
          fi; \
 
914
          for page in $(DOC_PAGES); do \
 
915
            echo "xmllint --noout --noent --path $$xmlpath --xinclude --relaxng $(_malrng) $$d$$lc/$$page"; \
 
916
            xmllint --noout --noent --path "$$xmlpath" --xinclude --relaxng "$(_malrng)" "$$d$$lc/$$page"; \
 
917
          done; \
 
918
        done
 
919
 
852
920
check-doc-omf: $(_DOC_OMF_ALL)
853
921
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
854
922
          echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
855
923
          xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
856
924
        done
857
925
 
 
926
################################################################################
 
927
 
858
928
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
 
929
 
859
930
install-data-local:                                     \
860
 
        $(if $(DOC_MODULE),install-doc-docs)            \
 
931
        $(if $(DOC_MODULE)$(DOC_ID),install-doc-docs)   \
861
932
        $(if $(_DOC_HTML_ALL),install-doc-html)         \
862
933
        $(if $(_DOC_C_FIGURES),install-doc-figs)        \
863
934
        $(if $(_DOC_OMF_IN),install-doc-omf)
865
936
 
866
937
install-doc-docs:
867
938
        @for lc in C $(_DOC_REAL_LINGUAS); do \
868
 
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
869
 
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc; \
 
939
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \
 
940
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \
870
941
        done
871
942
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
872
943
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
873
944
          docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
874
 
          docdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$docdir"; \
 
945
          docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
875
946
          if ! test -d "$$docdir"; then \
876
947
            echo "$(mkinstalldirs) $$docdir"; \
877
948
            $(mkinstalldirs) "$$docdir"; \
878
949
          fi; \
879
 
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
880
 
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \
 
950
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
 
951
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
881
952
        done
882
953
 
883
954
install-doc-figs:
892
963
              figsymlink=true; \
893
964
            fi; \
894
965
            figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
895
 
            figdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$figdir"; \
 
966
            figdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$figdir"; \
896
967
            if ! test -d "$$figdir"; then \
897
968
              echo "$(mkinstalldirs) $$figdir"; \
898
969
              $(mkinstalldirs) "$$figdir"; \
912
983
        echo install-html
913
984
 
914
985
install-doc-omf:
915
 
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)
 
986
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)
916
987
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
917
 
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
918
 
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf; \
 
988
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
989
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf; \
919
990
        done
920
991
        @if test "x$(_ENABLE_SK)" = "xtrue"; then \
921
 
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
922
 
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
992
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
 
993
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
923
994
        fi;
924
995
 
925
996
install-doc-dsk:
926
997
        echo install-dsk
927
998
 
 
999
################################################################################
 
1000
 
928
1001
.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
929
1002
uninstall-local:                                        \
930
 
        $(if $(DOC_MODULE),uninstall-doc-docs)          \
 
1003
        $(if $(DOC_MODULE)$(DOC_ID),uninstall-doc-docs) \
931
1004
        $(if $(_DOC_HTML_ALL),uninstall-doc-html)       \
932
1005
        $(if $(_DOC_C_FIGURES),uninstall-doc-figs)      \
933
1006
        $(if $(_DOC_OMF_IN),uninstall-doc-omf)
935
1008
 
936
1009
uninstall-doc-docs:
937
1010
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
938
 
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
939
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
1011
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
 
1012
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
940
1013
        done
941
1014
 
942
1015
uninstall-doc-figs:
943
1016
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
944
 
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
945
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
 
1017
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
 
1018
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
946
1019
        done;
947
1020
 
948
1021
uninstall-doc-omf:
949
1022
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
950
1023
          if test "x$(_ENABLE_SK)" = "xtrue"; then \
951
 
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
952
 
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
1024
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
1025
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
953
1026
          fi; \
954
 
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
955
 
          rm -f "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
1027
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
1028
          rm -f "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
956
1029
        done
957
1030
dist-hook: doc-dist-hook
958
1031
 
959
1032
-include $(top_srcdir)/git.mk
 
1033
 
960
1034
# Tell versions [3.59,3.63) of GNU make to not export all variables.
961
1035
# Otherwise a system limit (for SysV at least) may be exceeded.
962
1036
.NOEXPORT: