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 \
97
DIST_SUBDIRS = $(SUBDIRS)
82
98
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
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"`; \
112
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
113
if test "$$first2" = "$$first"; then \
114
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
118
dir0="$$dir0"/"$$first"; \
121
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
83
124
ACLOCAL = @ACLOCAL@
84
125
ALL_LINGUAS = @ALL_LINGUAS@
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@
147
208
LDFLAGS = @LDFLAGS@
148
209
LIBOBJS = @LIBOBJS@
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))
294
353
$(_DOC_C_ENTITIES) $(_DOC_C_INCLUDES) \
295
$(_DOC_C_PAGES) $(_DOC_C_MODULE)
297
356
_DOC_C_DOCS_NOENT = \
298
$(_DOC_C_MODULE) $(_DOC_C_INCLUDES) \
357
$(_DOC_C_MODULE) $(_DOC_C_INCLUDES)
301
359
_DOC_C_FIGURES = $(if $(DOC_FIGURES), \
302
360
$(foreach fig,$(DOC_FIGURES),C/$(fig)), \
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))
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))
323
$(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES), \
324
$(lc)/$(notdir $(page)) ))
326
379
_DOC_LC_INCLUDES = \
327
380
$(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES), \
328
381
$(lc)/$(notdir $(inc)) ))
407
462
-rm -rf .libs _libs
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 \
475
*k*) failcom='fail=yes';; \
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 \
484
local_target="$$target-am"; \
486
local_target="$$target"; \
488
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
491
if test "$$dot_seen" = "no"; then \
492
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
495
$(RECURSIVE_CLEAN_TARGETS):
496
@fail= failcom='exit 1'; \
497
for f in x $$MAKEFLAGS; do \
500
*k*) failcom='fail=yes';; \
505
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
506
*) list='$(SUBDIRS)' ;; \
508
rev=''; for subdir in $$list; do \
509
if test "$$subdir" = "."; then :; else \
510
rev="$$subdir $$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"; \
520
local_target="$$target"; \
522
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
524
done && test -z "$$fail"
526
list='$(SUBDIRS)'; for subdir in $$list; do \
527
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
530
list='$(SUBDIRS)'; for subdir in $$list; do \
531
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
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; \
539
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
540
END { if (nonempty) { for (i in files) print i; }; }'`; \
544
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
545
$(TAGS_FILES) $(LISP)
548
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
549
include_option=--etags-include; \
552
include_option=--include; \
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"; \
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; \
565
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
566
END { if (nonempty) { for (i in files) print i; }; }'`; \
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) \
574
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
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; \
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) \
592
here=`$(am__cd) $(top_builddir) && pwd` \
593
&& $(am__cd) $(top_srcdir) \
594
&& gtags -i $(GTAGS_ARGS) "$$here"
597
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
415
599
distdir: $(DISTFILES)
416
600
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
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" \
636
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
637
if test "$$subdir" = .; then :; else \
638
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
640
new_distdir=$$reldir; \
641
dir1=$$subdir; dir2="$(top_distdir)"; \
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=: \
445
657
$(MAKE) $(AM_MAKEFLAGS) \
446
658
top_distdir="$(top_distdir)" distdir="$(distdir)" \
661
check: check-recursive
453
install-exec: install-exec-am
454
install-data: install-data-am
455
uninstall: uninstall-am
663
installdirs: installdirs-recursive
665
install: install-recursive
666
install-exec: install-exec-recursive
667
install-data: install-data-recursive
668
uninstall: uninstall-recursive
457
670
install-am: all-am
458
671
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
460
installcheck: installcheck-am
673
installcheck: installcheck-recursive
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."
690
clean: clean-recursive
479
692
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
481
distclean: distclean-am
694
distclean: distclean-recursive
483
distclean-am: clean-am distclean-generic distclean-local
696
distclean-am: clean-am distclean-generic distclean-local \
497
711
install-data-am: install-data-local
499
install-dvi: install-dvi-am
713
install-dvi: install-dvi-recursive
505
install-html: install-html-am
719
install-html: install-html-recursive
509
install-info: install-info-am
723
install-info: install-info-recursive
515
install-pdf: install-pdf-am
729
install-pdf: install-pdf-recursive
519
install-ps: install-ps-am
733
install-ps: install-ps-recursive
525
maintainer-clean: maintainer-clean-am
739
maintainer-clean: maintainer-clean-recursive
527
741
maintainer-clean-am: distclean-am maintainer-clean-generic \
528
742
maintainer-clean-local
530
mostlyclean: mostlyclean-am
744
mostlyclean: mostlyclean-recursive
532
746
mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
533
747
mostlyclean-local
543
757
uninstall-am: uninstall-local
545
.MAKE: install-am install-strip
759
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
760
install-am install-strip tags-recursive
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 \
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); \
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); \
699
$(_DOC_MOFILES): %.mo: %.po
700
@if ! test -d $(dir $@); then \
701
echo "mkdir $(dir $@)"; \
906
$(_xml2po) -e -u $(notdir $@) $$docs); \
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}" \
917
"$${d}$(dir $@)$(patsubst %/$(notdir $@),%,$@).po" \
716
918
"$${d}C/$(notdir $@)" > $(notdir $@).tmp && \
717
919
cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)
720
922
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
721
$(_xml2po) -m $(_xml2po_mode) -e -o $@ $^
923
$(_xml2po) -e -o $@ $^
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)
733
################################################################################
735
935
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
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)
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"; \
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"; \
755
clean-doc-dir: clean-doc-lc
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)
778
################################################################################
780
.PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk
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
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)
847
1040
xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \
850
check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES)
851
for lc in C $(_DOC_REAL_LINGUAS); do \
857
xmlpath="$$lc:$(srcdir)/$$lc"; \
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"; \
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; \
871
################################################################################
873
1049
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
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)
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; \
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"; \
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; \
899
1074
install-doc-figs:
928
1103
echo install-html
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; \
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)"; \
941
1116
install-doc-dsk:
942
1117
echo install-dsk
944
################################################################################
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)
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"; \
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"; \
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"; \
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"; \
975
1148
dist-hook: doc-dist-hook