1
# Makefile.in generated by automake 1.10.2 from Makefile.am.
1
# Makefile.in generated by automake 1.11 from Makefile.am.
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
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
################################################################################
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
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@
310
311
_DOC_ABS_SRCDIR = @abs_srcdir@
312
_xml2po_mode = $(if $(DOC_ID),mallard,docbook)
311
313
@ENABLE_SK_TRUE@_ENABLE_SK = true
313
315
################################################################################
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))
347
350
$(_DOC_C_ENTITIES) $(_DOC_C_INCLUDES) \
351
$(_DOC_C_PAGES) $(_DOC_C_MODULE)
350
353
_DOC_C_DOCS_NOENT = \
351
$(_DOC_C_MODULE) $(_DOC_C_INCLUDES)
354
$(_DOC_C_MODULE) $(_DOC_C_INCLUDES) \
353
357
_DOC_C_FIGURES = $(if $(DOC_FIGURES), \
354
358
$(foreach fig,$(DOC_FIGURES),C/$(fig)), \
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))
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))
379
$(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES), \
380
$(lc)/$(notdir $(page)) ))
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)) ))
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))
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 \
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
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 {} \;; \
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 {} \;; \
478
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
493
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
480
test -f $(distdir)/$$file \
481
|| cp -p $$d/$$file $(distdir)/$$file \
495
test -f "$(distdir)/$$file" \
496
|| cp -p $$d/$$file "$(distdir)/$$file" \
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)
513
529
maintainer-clean-generic:
514
530
@echo "This command is intended for maintainers to use"
536
554
install-dvi: install-dvi-am
540
560
install-html: install-html-am
542
564
install-info: install-info-am
546
570
install-pdf: install-pdf-am
548
574
install-ps: install-ps-am
552
580
maintainer-clean: maintainer-clean-am
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
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); \
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); \
751
$(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \
754
$(_DOC_MOFILES): %.mo: %.po
755
@if ! test -d $(dir $@); then \
756
echo "mkdir $(dir $@)"; \
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 $@) && \
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)
731
775
$(_DOC_POT): $(_DOC_C_DOCS_NOENT)
732
$(_xml2po) -e -o $@ $^
776
$(_xml2po) -m $(_xml2po_mode) -e -o $@ $^
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)
788
################################################################################
744
790
.PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir
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)
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"; \
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"; \
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)
785
.PHONY: dist-doc-docs dist-doc-figs dist-doc-omf dist-doc-dsk
787
$(if $(DOC_MODULE),dist-doc-docs) \
788
$(if $(_DOC_C_FIGURES),dist-doc-figs) \
833
################################################################################
835
.PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk
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)
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))"
884
################################################################################
834
886
.PHONY: check-doc-docs check-doc-omf
836
888
$(if $(DOC_MODULE),check-doc-docs) \
889
$(if $(DOC_ID),check-doc-pages) \
837
890
$(if $(_DOC_OMF_IN),check-doc-omf)
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"; \
905
check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES)
906
for lc in C $(_DOC_REAL_LINGUAS); do \
912
xmlpath="$$lc:$(srcdir)/$$lc"; \
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"; \
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; \
926
################################################################################
858
928
.PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk
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)
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; \
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"; \
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; \
883
954
install-doc-figs:
892
963
figsymlink=true; \
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
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; \
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)"; \
999
################################################################################
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)
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"; \
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"; \
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"; \
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"; \
957
1030
dist-hook: doc-dist-hook
959
1032
-include $(top_srcdir)/git.mk
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.