~ubuntu-branches/ubuntu/precise/ibus/precise

« back to all changes in this revision

Viewing changes to docs/reference/ibus/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-03-06 09:45:51 UTC
  • mfrom: (6.2.20 sid)
  • Revision ID: package-import@ubuntu.com-20120306094551-2oj8nro3h3uesu8a
Tags: 1.4.1-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - debian/control: Install im-switch instead of im-config by default.
  - debian/rules: Build with dh_translations. Add dh-translations build
    dependency.
  - Add 02_title_update.patch: Rename "IBus Preferences" to "Keyboard Input
    Methods"
  - Add 05_appindicator.patch: Use an indicator rather than a notification
    icon. Add python-appindicator recommends.
  - debian/control: Recommends on ibus-gtk, ibus-qt4, ibus-clutter need to
    be alternatives, because we want derivatives to be able to pick the ones
    they need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
GTK3_IM_MODULEDIR = @GTK3_IM_MODULEDIR@
136
136
GTK3_LIBS = @GTK3_LIBS@
137
137
GTKDOC_CHECK = @GTKDOC_CHECK@
 
138
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
 
139
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
138
140
GTKDOC_MKPDF = @GTKDOC_MKPDF@
139
141
GTKDOC_REBASE = @GTKDOC_REBASE@
140
142
HTML_DIR = @HTML_DIR@
224
226
SHELL = @SHELL@
225
227
STRIP = @STRIP@
226
228
USE_NLS = @USE_NLS@
 
229
VAPIGEN = @VAPIGEN@
227
230
VERSION = @VERSION@
228
231
X11_CFLAGS = @X11_CFLAGS@
229
232
X11_LIBS = @X11_LIBS@
380
383
        $(top_builddir)/src/libibus-@IBUS_API_VERSION@.la \
381
384
        $(NULL)
382
385
 
383
 
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
384
 
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
385
 
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
386
 
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
 
386
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
387
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
388
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
 
389
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
387
390
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = 
388
391
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
389
392
 
405
408
 
406
409
# Other files to distribute
407
410
# e.g. EXTRA_DIST += version.xml.in
408
 
EXTRA_DIST = $(SETUP_FILES) trim.sed
 
411
EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) trim.sed
409
412
DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
410
413
        html-build.stamp pdf-build.stamp \
411
 
        setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp
 
414
        tmpl.stamp sgml.stamp html.stamp pdf.stamp
412
415
 
413
416
SCANOBJ_FILES = \
414
417
        $(DOC_MODULE).args       \
649
652
 
650
653
setup-build.stamp:
651
654
        -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
652
 
           echo 'gtk-doc: Preparing build'; \
653
 
           files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
654
 
           if test "x$$files" != "x" ; then \
655
 
               for file in $$files ; do \
656
 
                   test -f $(abs_srcdir)/$$file && \
657
 
                       cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
658
 
               done \
659
 
           fi; \
660
 
           test -f $(abs_srcdir)/tmpl && \
661
 
               cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
 
655
            echo '  DOC   Preparing build'; \
 
656
            files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
 
657
            if test "x$$files" != "x" ; then \
 
658
                for file in $$files ; do \
 
659
                    test -f $(abs_srcdir)/$$file && \
 
660
                        cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
 
661
                done; \
 
662
            fi; \
 
663
            test -d $(abs_srcdir)/tmpl && \
 
664
                { cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
 
665
                chmod -R u+w $(abs_builddir)/tmpl; } \
662
666
        fi
663
667
        @touch setup-build.stamp
664
668
 
665
 
setup.stamp: setup-build.stamp
666
 
        @true
667
 
 
668
669
#### scan ####
669
670
 
670
671
scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
671
 
        @echo 'gtk-doc: Scanning header files'
 
672
        @echo '  DOC   Scanning header files'
672
673
        @_source_dir='' ; \
673
674
        for i in $(DOC_SOURCE_DIR) ; do \
674
675
            _source_dir="$${_source_dir} --source-dir=$$i" ; \
675
676
        done ; \
676
677
        gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
677
678
        @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
678
 
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \
 
679
            echo "  DOC   Introspecting gobjects"; \
 
680
            scanobj_options=""; \
 
681
            gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
682
            if test "$(?)" = "0"; then \
 
683
                if test "x$(V)" = "x1"; then \
 
684
                    scanobj_options="--verbose"; \
 
685
                fi; \
 
686
            fi; \
 
687
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
 
688
            gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
679
689
        else \
680
690
            for i in $(SCANOBJ_FILES) ; do \
681
 
               test -f $$i || touch $$i ; \
 
691
                test -f $$i || touch $$i ; \
682
692
            done \
683
693
        fi
684
694
        @touch scan-build.stamp
688
698
 
689
699
#### templates ####
690
700
 
691
 
tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
692
 
        @echo 'gtk-doc: Rebuilding template files'
 
701
tmpl-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
 
702
        @echo '  DOC   Rebuilding template files'
693
703
        @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
694
704
        @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
695
705
          if test -w $(abs_srcdir) ; then \
707
717
#### xml ####
708
718
 
709
719
sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
710
 
        @echo 'gtk-doc: Building XML'
 
720
        @echo '  DOC   Building XML'
711
721
        @-chmod -R u+w $(srcdir)
712
722
        @_source_dir='' ; \
713
723
        for i in $(DOC_SOURCE_DIR) ; do \
722
732
#### html ####
723
733
 
724
734
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
725
 
        @echo 'gtk-doc: Building HTML'
 
735
        @echo '  DOC   Building HTML'
726
736
        @rm -rf html
727
737
        @mkdir html
728
738
        @mkhtml_options=""; \
 
739
        gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
740
        if test "$(?)" = "0"; then \
 
741
          if test "x$(V)" = "x1"; then \
 
742
            mkhtml_options="$$mkhtml_options --verbose"; \
 
743
          fi; \
 
744
        fi; \
729
745
        gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-path"; \
730
746
        if test "$(?)" = "0"; then \
731
 
          mkhtml_options=--path="$(abs_srcdir)"; \
 
747
          mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
732
748
        fi; \
733
749
        cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
734
750
        -@test "x$(HTML_IMAGES)" = "x" || \
740
756
            cp $(abs_builddir)/$$file $(abs_builddir)/html; \
741
757
          fi; \
742
758
        done;
743
 
        @echo 'gtk-doc: Fixing cross-references'
 
759
        @echo '  DOC   Fixing cross-references'
744
760
        @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
745
761
        @touch html-build.stamp
746
762
 
747
763
#### pdf ####
748
764
 
749
765
pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
750
 
        @echo 'gtk-doc: Building PDF'
751
 
        @rm -rf $(DOC_MODULE).pdf
752
 
        @mkpdf_imgdirs=""; \
 
766
        @echo '  DOC   Building PDF'
 
767
        @rm -f $(DOC_MODULE).pdf
 
768
        @mkpdf_options=""; \
 
769
        gtkdoc-mkpdf 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
770
        if test "$(?)" = "0"; then \
 
771
          if test "x$(V)" = "x1"; then \
 
772
            mkpdf_options="$$mkpdf_options --verbose"; \
 
773
          fi; \
 
774
        fi; \
753
775
        if test "x$(HTML_IMAGES)" != "x"; then \
754
776
          for img in $(HTML_IMAGES); do \
755
777
            part=`dirname $$img`; \
756
 
            echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
 
778
            echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
757
779
            if test $$? != 0; then \
758
 
              mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
 
780
              mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
759
781
            fi; \
760
782
          done; \
761
783
        fi; \
762
 
        gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
 
784
        gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
763
785
        @touch pdf-build.stamp
764
786
 
765
787
##############
766
788
 
767
789
clean-local:
768
 
        rm -f *~ *.bak
769
 
        rm -rf .libs
 
790
        @rm -f *~ *.bak
 
791
        @rm -rf .libs
770
792
 
771
793
distclean-local:
772
 
        rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
 
794
        @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
773
795
            $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
774
 
        if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
 
796
        @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
775
797
            rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
776
798
            rm -rf tmpl; \
777
799
        fi
778
800
 
779
801
maintainer-clean-local: clean
780
 
        rm -rf xml html
 
802
        @rm -rf xml html
781
803
 
782
804
install-data-local:
783
 
        @installfiles=`echo $(srcdir)/html/*`; \
784
 
        if test "$$installfiles" = '$(srcdir)/html/*'; \
785
 
        then echo '-- Nothing to install' ; \
 
805
        @installfiles=`echo $(builddir)/html/*`; \
 
806
        if test "$$installfiles" = '$(builddir)/html/*'; \
 
807
        then echo 1>&2 'Nothing to install' ; \
786
808
        else \
787
809
          if test -n "$(DOC_MODULE_VERSION)"; then \
788
810
            installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
791
813
          fi; \
792
814
          $(mkinstalldirs) $${installdir} ; \
793
815
          for i in $$installfiles; do \
794
 
            echo '-- Installing '$$i ; \
 
816
            echo ' $(INSTALL_DATA) '$$i ; \
795
817
            $(INSTALL_DATA) $$i $${installdir}; \
796
818
          done; \
797
819
          if test -n "$(DOC_MODULE_VERSION)"; then \
798
820
            mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
799
821
              $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
800
 
            mv -f $${installdir}/$(DOC_MODULE).devhelp \
801
 
              $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
802
822
          fi; \
803
823
          $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
804
824
        fi
820
840
@ENABLE_GTK_DOC_FALSE@  @false
821
841
 
822
842
dist-hook: dist-check-gtkdoc dist-hook-local
823
 
        mkdir $(distdir)/tmpl
824
 
        mkdir $(distdir)/html
825
 
        -cp $(build)/tmpl/*.sgml $(distdir)/tmpl
826
 
        cp $(builddir)/html/* $(distdir)/html
827
 
        -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
828
 
        -cp $(build)/$(DOC_MODULE).types $(distdir)/
829
 
        -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/
830
 
        cd $(distdir) && rm -f $(DISTCLEANFILES)
831
 
        $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
 
843
        @mkdir $(distdir)/tmpl
 
844
        @mkdir $(distdir)/html
 
845
        @-cp ./tmpl/*.sgml $(distdir)/tmpl
 
846
        @cp ./html/* $(distdir)/html
 
847
        @-cp ./$(DOC_MODULE).pdf $(distdir)/
 
848
        @-cp ./$(DOC_MODULE).types $(distdir)/
 
849
        @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
 
850
        @cd $(distdir) && rm -f $(DISTCLEANFILES)
 
851
        @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
832
852
 
833
853
.PHONY : dist-hook-local docs
834
854
#TESTS = $(GTKDOC_CHECK)
837
857
        $(AM_V_GEN) \
838
858
            $(SED) -f $(srcdir)/trim.sed -i.bak \
839
859
                        $(builddir)/$(DOC_MODULE)-sections.txt && \
840
 
            $(RM) $(buildir)/$(DOC_MODULE)-sections.txt.bak && \
 
860
            $(RM) $(builddir)/$(DOC_MODULE)-sections.txt.bak && \
841
861
            touch trim-build.stamp
842
862
 
843
863
tmpl-build.stamp: trim-build.stamp  $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-overrides.txt