~ubuntu-branches/ubuntu/natty/gnome-system-monitor/natty

« back to all changes in this revision

Viewing changes to help/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-05-26 15:17:24 UTC
  • mfrom: (1.1.57 upstream) (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100526151724-t26lqfznztg0zln6
Tags: 2.28.1-1ubuntu1
* Resync on Debian
* debian/control.in:
  - build-depends on liblaunchpad-integration-dev
  - don't build-depends on scrollkeeper
* debian/patches/02_lpi.patch:
  - launchpad integration changes
* debian/patches/03_ARM_cpu_sysinfo.patch:
  -Fix "Unknown CPU model" display on Freescale MX51 ARM devices
* debian/patches/04_menu_change.patch:
  - change the menu item category
* debian/patches/70_autoreconf.patch:
  - run autoreconf update
* debian/watch:
  - watch unstable serie there too  

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.
39
40
################################################################################
40
41
VPATH = @srcdir@
41
42
pkgdatadir = $(datadir)/@PACKAGE@
 
43
pkgincludedir = $(includedir)/@PACKAGE@
42
44
pkglibdir = $(libdir)/@PACKAGE@
43
 
pkgincludedir = $(includedir)/@PACKAGE@
 
45
pkglibexecdir = $(libexecdir)/@PACKAGE@
44
46
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
45
47
install_sh_DATA = $(install_sh) -c -m 644
46
48
install_sh_PROGRAM = $(install_sh) -c
65
67
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
66
68
CONFIG_HEADER = $(top_builddir)/config.h
67
69
CONFIG_CLEAN_FILES =
 
70
CONFIG_CLEAN_VPATH_FILES =
68
71
SOURCES =
69
72
DIST_SOURCES =
70
73
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
116
119
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
117
120
INSTOBJEXT = @INSTOBJEXT@
118
121
INTLLIBS = @INTLLIBS@
119
 
INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@
120
 
INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@
121
 
INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@
122
122
INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
123
 
INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@
124
 
INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@
125
123
INTLTOOL_MERGE = @INTLTOOL_MERGE@
126
 
INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@
127
124
INTLTOOL_PERL = @INTLTOOL_PERL@
128
 
INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@
129
 
INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@
130
 
INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@
131
 
INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@
132
 
INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@
133
 
INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@
134
 
INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@
135
 
INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@
136
 
INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@
137
 
INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@
138
125
INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
139
 
INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@
140
 
INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@
141
 
INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@
142
126
LD = @LD@
143
127
LDFLAGS = @LDFLAGS@
144
128
LIBOBJS = @LIBOBJS@
233
217
srcdir = @srcdir@
234
218
sysconfdir = @sysconfdir@
235
219
target_alias = @target_alias@
 
220
top_build_prefix = @top_build_prefix@
236
221
top_builddir = @top_builddir@
237
222
top_srcdir = @top_srcdir@
238
223
_clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header)
242
227
        $(DOC_LINGUAS))
243
228
 
244
229
_DOC_ABS_SRCDIR = @abs_srcdir@
 
230
_xml2po_mode = $(if $(DOC_ID),mallard,docbook)
245
231
@ENABLE_SK_TRUE@_ENABLE_SK = true
246
232
 
247
233
################################################################################
275
261
 
276
262
################################################################################
277
263
_DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml)
 
264
_DOC_C_PAGES = $(foreach page,$(DOC_PAGES),C/$(page))
278
265
_DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent))
279
266
_DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc))
280
267
_DOC_C_DOCS = \
281
268
        $(_DOC_C_ENTITIES)      $(_DOC_C_INCLUDES)                      \
282
 
        $(_DOC_C_MODULE)
 
269
        $(_DOC_C_PAGES)         $(_DOC_C_MODULE)
283
270
 
284
271
_DOC_C_DOCS_NOENT = \
285
 
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)
 
272
        $(_DOC_C_MODULE)        $(_DOC_C_INCLUDES)                      \
 
273
        $(_DOC_C_PAGES)
286
274
 
287
275
_DOC_C_FIGURES = $(if $(DOC_FIGURES),                                   \
288
276
        $(foreach fig,$(DOC_FIGURES),C/$(fig)),                         \
298
286
 
299
287
 
300
288
###############################################################################
301
 
_DOC_POFILES = $(if $(DOC_MODULE),                                              \
 
289
_DOC_POFILES = $(if $(DOC_MODULE)$(DOC_ID),                                     \
302
290
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po))
303
291
 
 
292
_DOC_MOFILES = $(patsubst %.po,%.mo,$(_DOC_POFILES))
304
293
_DOC_LC_MODULES = $(if $(DOC_MODULE),                                           \
305
294
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml))
306
295
 
 
296
_DOC_LC_PAGES = \
 
297
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES),       \
 
298
                $(lc)/$(notdir $(page)) ))
 
299
 
307
300
_DOC_LC_INCLUDES = \
308
301
        $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES),     \
309
302
                $(lc)/$(notdir $(inc)) ))
315
308
                $(lc)/$(notdir $(doc)) ))
316
309
 
317
310
_DOC_LC_DOCS = \
318
 
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)                             \
 
311
        $(_DOC_LC_MODULES)      $(_DOC_LC_INCLUDES)     $(_DOC_LC_PAGES)        \
319
312
        $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML))
320
313
 
321
314
_DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS),                            \
335
328
_clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf)
336
329
_clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk)
337
330
_clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc)
338
 
_clean_dir = $(if $(DOC_MODULE),clean-doc-dir)
 
331
_clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir)
 
332
_doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE))
339
333
DOC_MODULE = gnome-system-monitor
340
334
DOC_ENTITIES = legal.xml
341
335
DOC_INCLUDES = 
353
347
              figures/systemMonitor.png \
354
348
              figures/viewMenu.png
355
349
 
356
 
DOC_LINGUAS = ar bg ca cs da de el es fr oc pa sv
 
350
DOC_LINGUAS = ar bg ca cs da de el es fr oc pa sv zh_CN
357
351
all: all-am
358
352
 
359
353
.SUFFIXES:
366
360
              exit 1;; \
367
361
          esac; \
368
362
        done; \
369
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  help/Makefile'; \
370
 
        cd $(top_srcdir) && \
371
 
          $(AUTOMAKE) --gnu  help/Makefile
 
363
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu help/Makefile'; \
 
364
        $(am__cd) $(top_srcdir) && \
 
365
          $(AUTOMAKE) --gnu help/Makefile
372
366
.PRECIOUS: Makefile
373
367
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
374
368
        @case '$?' in \
386
380
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
387
381
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
388
382
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
383
$(am__aclocal_m4_deps):
389
384
 
390
385
mostlyclean-libtool:
391
386
        -rm -f *.lo
415
410
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
416
411
          if test -d $$d/$$file; then \
417
412
            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
 
413
            if test -d "$(distdir)/$$file"; then \
 
414
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 
415
            fi; \
418
416
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
419
 
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
417
              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
 
418
              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
420
419
            fi; \
421
 
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
420
            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
422
421
          else \
423
 
            test -f $(distdir)/$$file \
424
 
            || cp -p $$d/$$file $(distdir)/$$file \
 
422
            test -f "$(distdir)/$$file" \
 
423
            || cp -p $$d/$$file "$(distdir)/$$file" \
425
424
            || exit 1; \
426
425
          fi; \
427
426
        done
452
451
 
453
452
distclean-generic:
454
453
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
454
        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
455
455
 
456
456
maintainer-clean-generic:
457
457
        @echo "This command is intended for maintainers to use"
470
470
 
471
471
html: html-am
472
472
 
 
473
html-am:
 
474
 
473
475
info: info-am
474
476
 
475
477
info-am:
478
480
 
479
481
install-dvi: install-dvi-am
480
482
 
 
483
install-dvi-am:
 
484
 
481
485
install-exec-am:
482
486
 
483
487
install-html: install-html-am
484
488
 
 
489
install-html-am:
 
490
 
485
491
install-info: install-info-am
486
492
 
 
493
install-info-am:
 
494
 
487
495
install-man:
488
496
 
489
497
install-pdf: install-pdf-am
490
498
 
 
499
install-pdf-am:
 
500
 
491
501
install-ps: install-ps-am
492
502
 
 
503
install-ps-am:
 
504
 
493
505
installcheck-am:
494
506
 
495
507
maintainer-clean: maintainer-clean-am
586
598
 
587
599
DOC_MODULE ?=
588
600
 
 
601
DOC_ID ?=
 
602
 
 
603
DOC_PAGES ?=
 
604
 
589
605
DOC_ENTITIES ?=
590
606
 
591
607
DOC_INCLUDES ?=
602
618
 
603
619
_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
604
620
_db2omf  ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
 
621
_malrng  ?= `$(PKG_CONFIG) --variable malrng gnome-doc-utils`
605
622
_chunks  ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl
606
623
_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
607
624
_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl
631
648
.PHONY: po
632
649
po: $(_DOC_POFILES)
633
650
 
 
651
.PHONY: mo
 
652
mo: $(_DOC_MOFILES)
 
653
 
634
654
$(_DOC_POFILES):
635
655
        @if ! test -d $(dir $@); then \
636
656
          echo "mkdir $(dir $@)"; \
646
666
        done; \
647
667
        if ! test -f $@; then \
648
668
          echo "(cd $(dir $@) && \
649
 
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
669
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
650
670
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \
651
671
          (cd $(dir $@) && \
652
 
            $(_xml2po) -e $$docs > $(notdir $@).tmp && \
 
672
            $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \
653
673
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \
654
674
        else \
655
675
          echo "(cd $(dir $@) && \
656
 
            $(_xml2po) -e -u $(notdir $@) $$docs)"; \
 
676
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs)"; \
657
677
          (cd $(dir $@) && \
658
 
            $(_xml2po) -e -u $(notdir $@) $$docs); \
659
 
        fi
 
678
            $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \
 
679
        fi
 
680
 
 
681
$(_DOC_MOFILES): %.mo: %.po
 
682
        @if ! test -d $(dir $@); then \
 
683
          echo "mkdir $(dir $@)"; \
 
684
          mkdir "$(dir $@)"; \
 
685
        fi
 
686
        msgfmt -o $@ $<
660
687
 
661
688
# FIXME: fix the dependancy
662
689
# FIXME: hook xml2po up
663
 
$(_DOC_LC_DOCS) : $(_DOC_POFILES)
 
690
$(_DOC_LC_DOCS) : $(_DOC_MOFILES)
664
691
$(_DOC_LC_DOCS) : $(_DOC_C_DOCS)
665
692
        if ! test -d $(dir $@); then mkdir $(dir $@); fi
666
693
        if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \
 
694
        mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
 
695
        if [ -f "$${mo}" ]; then mo="../$${mo}"; else mo="$(_DOC_ABS_SRCDIR)/$${mo}"; fi; \
667
696
        (cd $(dir $@) && \
668
 
          $(_xml2po) -e -p \
669
 
            "$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
 
697
          $(_xml2po) -m $(_xml2po_mode) -e -t "$${mo}" \
670
698
            "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
671
699
            cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
672
700
.PHONY: pot
673
701
pot: $(_DOC_POT)
674
702
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
675
 
        $(_xml2po) -e -o $@ $^
 
703
        $(_xml2po) -m $(_xml2po_mode) -e -o $@ $^
676
704
 
677
705
$(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
678
706
        xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@)
684
712
        $(_DOC_OMF_ALL)         $(_DOC_DSK_ALL)         \
685
713
        $(_DOC_HTML_ALL)        $(_DOC_POFILES)
686
714
 
 
715
################################################################################
 
716
 
687
717
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
688
718
 
689
719
clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML)
690
720
clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML)
691
721
clean-doc-lc:
692
722
        rm -f $(_DOC_LC_DOCS)
 
723
        rm -f $(_DOC_MOFILES)
693
724
        @list='$(_DOC_POFILES)'; for po in $$list; do \
694
725
          if ! test "$$po" -ef "$(srcdir)/$$po"; then \
695
726
            echo "rm -f $$po"; \
696
727
            rm -f "$$po"; \
697
728
          fi; \
698
729
        done
 
730
#       .xml2.po.mo cleaning is obsolete as of 0.18.1 and could be removed in 0.20.x
699
731
        @for lc in C $(_DOC_REAL_LINGUAS); do \
700
732
          if test -f "$$lc/.xml2po.mo"; then \
701
733
            echo "rm -f $$lc/.xml2po.mo"; \
702
734
            rm -f "$$lc/.xml2po.mo"; \
703
735
          fi; \
704
736
        done
705
 
clean-doc-dir:
 
737
clean-doc-dir: clean-doc-lc
706
738
        @for lc in C $(_DOC_REAL_LINGUAS); do \
707
739
          for dir in `find $$lc -depth -type d`; do \
708
740
            if ! test $$dir -ef $(srcdir)/$$dir; then \
725
757
        $(_clean_omf)           $(_clean_dsk)           \
726
758
        $(_clean_lc)            $(_clean_dir)
727
759
 
728
 
.PHONY: dist-doc-docs dist-doc-figs dist-doc-omf dist-doc-dsk
729
 
doc-dist-hook:                                  \
730
 
        $(if $(DOC_MODULE),dist-doc-docs)       \
731
 
        $(if $(_DOC_C_FIGURES),dist-doc-figs)   \
 
760
################################################################################
 
761
 
 
762
.PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk
 
763
doc-dist-hook:                                          \
 
764
        $(if $(DOC_MODULE)$(DOC_ID),dist-doc-docs)      \
 
765
        $(if $(_DOC_C_FIGURES),dist-doc-figs)           \
732
766
        $(if $(_DOC_OMF_IN),dist-doc-omf)
733
767
#       $(if $(_DOC_DSK_IN),dist-doc-dsk)
734
768
 
774
808
        echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \
775
809
        $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))"
776
810
 
 
811
################################################################################
 
812
 
777
813
.PHONY: check-doc-docs check-doc-omf
778
814
check:                                                  \
779
815
        $(if $(DOC_MODULE),check-doc-docs)              \
 
816
        $(if $(DOC_ID),check-doc-pages)                 \
780
817
        $(if $(_DOC_OMF_IN),check-doc-omf)
781
818
 
782
819
check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS)
792
829
          xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
793
830
        done
794
831
 
 
832
check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES)
 
833
        for lc in C $(_DOC_REAL_LINGUAS); do \
 
834
          if test -f "$$lc"; \
 
835
            then d=; \
 
836
            xmlpath="$$lc"; \
 
837
          else \
 
838
            d="$(srcdir)/"; \
 
839
            xmlpath="$$lc:$(srcdir)/$$lc"; \
 
840
          fi; \
 
841
          for page in $(DOC_PAGES); do \
 
842
            echo "xmllint --noout --noent --path $$xmlpath --xinclude --relaxng $(_malrng) $$d$$lc/$$page"; \
 
843
            xmllint --noout --noent --path "$$xmlpath" --xinclude --relaxng "$(_malrng)" "$$d$$lc/$$page"; \
 
844
          done; \
 
845
        done
 
846
 
795
847
check-doc-omf: $(_DOC_OMF_ALL)
796
848
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
797
849
          echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \
798
850
          xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \
799
851
        done
800
852
 
 
853
################################################################################
 
854
 
801
855
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
 
856
 
802
857
install-data-local:                                     \
803
 
        $(if $(DOC_MODULE),install-doc-docs)            \
 
858
        $(if $(DOC_MODULE)$(DOC_ID),install-doc-docs)   \
804
859
        $(if $(_DOC_HTML_ALL),install-doc-html)         \
805
860
        $(if $(_DOC_C_FIGURES),install-doc-figs)        \
806
861
        $(if $(_DOC_OMF_IN),install-doc-omf)
808
863
 
809
864
install-doc-docs:
810
865
        @for lc in C $(_DOC_REAL_LINGUAS); do \
811
 
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc"; \
812
 
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$lc; \
 
866
          echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \
 
867
          $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \
813
868
        done
814
869
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
815
870
          if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \
816
871
          docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
817
 
          docdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$docdir"; \
 
872
          docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \
818
873
          if ! test -d "$$docdir"; then \
819
874
            echo "$(mkinstalldirs) $$docdir"; \
820
875
            $(mkinstalldirs) "$$docdir"; \
821
876
          fi; \
822
 
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
823
 
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc; \
 
877
          echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
 
878
          $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \
824
879
        done
825
880
 
826
881
install-doc-figs:
827
882
        @list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \
828
883
          for lc in C $(_DOC_REAL_LINGUAS); do \
 
884
            figsymlink=false; \
829
885
            if test -f "$$lc/$$fig"; then \
830
886
              figfile="$$lc/$$fig"; \
831
887
            elif test -f "$(srcdir)/$$lc/$$fig"; then \
832
888
              figfile="$(srcdir)/$$lc/$$fig"; \
833
 
            elif test -f "C/$$fig"; then \
834
 
              figfile="C/$$fig"; \
835
889
            else \
836
 
              figfile="$(srcdir)/C/$$fig"; \
 
890
              figsymlink=true; \
837
891
            fi; \
838
892
            figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \
839
 
            figdir="$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$figdir"; \
 
893
            figdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$figdir"; \
840
894
            if ! test -d "$$figdir"; then \
841
895
              echo "$(mkinstalldirs) $$figdir"; \
842
896
              $(mkinstalldirs) "$$figdir"; \
843
897
            fi; \
844
898
            figbase=`echo $$fig | sed -e 's/^.*\///'`; \
845
 
            echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
846
 
            $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
 
899
            if $$figsymlink; then \
 
900
              echo "cd $$figdir && $(LN_S) -f ../../C/$$fig $$figbase"; \
 
901
              ( cd "$$figdir" && $(LN_S) -f "../../C/$$fig" "$$figbase" ); \
 
902
            else \
 
903
              echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \
 
904
              $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \
 
905
            fi; \
847
906
          done; \
848
907
        done
849
908
 
851
910
        echo install-html
852
911
 
853
912
install-doc-omf:
854
 
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)
 
913
        $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)
855
914
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
856
 
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
857
 
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf; \
 
915
          echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
916
          $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf; \
858
917
        done
859
918
        @if test "x$(_ENABLE_SK)" = "xtrue"; then \
860
 
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
861
 
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)"; \
 
919
          echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
 
920
          scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \
862
921
        fi;
863
922
 
864
923
install-doc-dsk:
865
924
        echo install-dsk
866
925
 
 
926
################################################################################
 
927
 
867
928
.PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk
868
929
uninstall-local:                                        \
869
 
        $(if $(DOC_MODULE),uninstall-doc-docs)          \
 
930
        $(if $(DOC_MODULE)$(DOC_ID),uninstall-doc-docs) \
870
931
        $(if $(_DOC_HTML_ALL),uninstall-doc-html)       \
871
932
        $(if $(_DOC_C_FIGURES),uninstall-doc-figs)      \
872
933
        $(if $(_DOC_OMF_IN),uninstall-doc-omf)
874
935
 
875
936
uninstall-doc-docs:
876
937
        @list='$(_DOC_C_DOCS) $(_DOC_LC_DOCS)'; for doc in $$list; do \
877
 
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
878
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$doc"; \
 
938
          echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
 
939
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \
879
940
        done
880
941
 
881
942
uninstall-doc-figs:
882
943
        @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \
883
 
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
884
 
          rm -f "$(DESTDIR)$(HELP_DIR)/$(DOC_MODULE)/$$fig"; \
 
944
          echo "rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
 
945
          rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \
885
946
        done;
886
947
 
887
948
uninstall-doc-omf:
888
949
        @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \
889
950
          if test "x$(_ENABLE_SK)" = "xtrue"; then \
890
 
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
891
 
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
951
            echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
952
            scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
892
953
          fi; \
893
 
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
894
 
          rm -f "$(DESTDIR)$(OMF_DIR)/$(DOC_MODULE)/$$omf"; \
 
954
          echo "rm -f $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
 
955
          rm -f "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \
895
956
        done
896
957
dist-hook: doc-dist-hook
 
958
 
897
959
# Tell versions [3.59,3.63) of GNU make to not export all variables.
898
960
# Otherwise a system limit (for SysV at least) may be exceeded.
899
961
.NOEXPORT: