~ubuntu-branches/ubuntu/precise/gnome-panel/precise

« back to all changes in this revision

Viewing changes to doc/reference/panel-applet/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2011-09-26 11:24:36 UTC
  • mfrom: (1.13.13 upstream)
  • Revision ID: package-import@ubuntu.com-20110926112436-72x6ro8jhmjlwtko
Tags: 1:3.2.0-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
GREP = @GREP@
115
115
GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
116
116
GTKDOC_CHECK = @GTKDOC_CHECK@
 
117
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
 
118
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
117
119
GTKDOC_MKPDF = @GTKDOC_MKPDF@
118
120
GTKDOC_REBASE = @GTKDOC_REBASE@
119
121
HELP_DIR = @HELP_DIR@
330
332
        $(PANEL_LIBS)                                   \
331
333
        ../../../libpanel-applet/libpanel-applet-4.la
332
334
 
333
 
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
334
 
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
335
 
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
336
 
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
 
335
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
336
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
337
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
 
338
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
337
339
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = 
338
340
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
339
341
 
351
353
        $(DOC_MODULE)-overrides.txt
352
354
 
353
355
EXTRA_DIST = \
 
356
        $(HTML_IMAGES)                  \
354
357
        $(SETUP_FILES)
355
358
 
356
359
DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
357
360
        html-build.stamp pdf-build.stamp \
358
 
        setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp
 
361
        tmpl.stamp sgml.stamp html.stamp pdf.stamp
359
362
 
360
363
SCANOBJ_FILES = \
361
364
        $(DOC_MODULE).args       \
578
581
 
579
582
setup-build.stamp:
580
583
        -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
581
 
           echo 'gtk-doc: Preparing build'; \
582
 
           files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
583
 
           if test "x$$files" != "x" ; then \
584
 
               for file in $$files ; do \
585
 
                   test -f $(abs_srcdir)/$$file && \
586
 
                       cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
587
 
               done \
588
 
           fi; \
589
 
           test -f $(abs_srcdir)/tmpl && \
590
 
               cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
 
584
            echo '  DOC   Preparing build'; \
 
585
            files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
 
586
            if test "x$$files" != "x" ; then \
 
587
                for file in $$files ; do \
 
588
                    test -f $(abs_srcdir)/$$file && \
 
589
                        cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
 
590
                done; \
 
591
            fi; \
 
592
            test -d $(abs_srcdir)/tmpl && \
 
593
                { cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
 
594
                chmod -R u+w $(abs_builddir)/tmpl; } \
591
595
        fi
592
596
        @touch setup-build.stamp
593
597
 
594
 
setup.stamp: setup-build.stamp
595
 
        @true
596
 
 
597
598
#### scan ####
598
599
 
599
600
scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
600
 
        @echo 'gtk-doc: Scanning header files'
 
601
        @echo '  DOC   Scanning header files'
601
602
        @_source_dir='' ; \
602
603
        for i in $(DOC_SOURCE_DIR) ; do \
603
604
            _source_dir="$${_source_dir} --source-dir=$$i" ; \
604
605
        done ; \
605
606
        gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
606
607
        @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
607
 
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \
 
608
            echo "  DOC   Introspecting gobjects"; \
 
609
            scanobj_options=""; \
 
610
            gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
611
            if test "$(?)" = "0"; then \
 
612
                if test "x$(V)" = "x1"; then \
 
613
                    scanobj_options="--verbose"; \
 
614
                fi; \
 
615
            fi; \
 
616
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
 
617
            gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
608
618
        else \
609
619
            for i in $(SCANOBJ_FILES) ; do \
610
 
               test -f $$i || touch $$i ; \
 
620
                test -f $$i || touch $$i ; \
611
621
            done \
612
622
        fi
613
623
        @touch scan-build.stamp
617
627
 
618
628
#### templates ####
619
629
 
620
 
tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
621
 
        @echo 'gtk-doc: Rebuilding template files'
 
630
tmpl-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
 
631
        @echo '  DOC   Rebuilding template files'
622
632
        @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
623
633
        @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
624
634
          if test -w $(abs_srcdir) ; then \
636
646
#### xml ####
637
647
 
638
648
sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
639
 
        @echo 'gtk-doc: Building XML'
 
649
        @echo '  DOC   Building XML'
640
650
        @-chmod -R u+w $(srcdir)
641
651
        @_source_dir='' ; \
642
652
        for i in $(DOC_SOURCE_DIR) ; do \
651
661
#### html ####
652
662
 
653
663
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
654
 
        @echo 'gtk-doc: Building HTML'
 
664
        @echo '  DOC   Building HTML'
655
665
        @rm -rf html
656
666
        @mkdir html
657
667
        @mkhtml_options=""; \
 
668
        gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
669
        if test "$(?)" = "0"; then \
 
670
          if test "x$(V)" = "x1"; then \
 
671
            mkhtml_options="$$mkhtml_options --verbose"; \
 
672
          fi; \
 
673
        fi; \
658
674
        gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-path"; \
659
675
        if test "$(?)" = "0"; then \
660
 
          mkhtml_options=--path="$(abs_srcdir)"; \
 
676
          mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
661
677
        fi; \
662
678
        cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
663
679
        -@test "x$(HTML_IMAGES)" = "x" || \
669
685
            cp $(abs_builddir)/$$file $(abs_builddir)/html; \
670
686
          fi; \
671
687
        done;
672
 
        @echo 'gtk-doc: Fixing cross-references'
 
688
        @echo '  DOC   Fixing cross-references'
673
689
        @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
674
690
        @touch html-build.stamp
675
691
 
676
692
#### pdf ####
677
693
 
678
694
pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
679
 
        @echo 'gtk-doc: Building PDF'
680
 
        @rm -rf $(DOC_MODULE).pdf
681
 
        @mkpdf_imgdirs=""; \
 
695
        @echo '  DOC   Building PDF'
 
696
        @rm -f $(DOC_MODULE).pdf
 
697
        @mkpdf_options=""; \
 
698
        gtkdoc-mkpdf 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
699
        if test "$(?)" = "0"; then \
 
700
          if test "x$(V)" = "x1"; then \
 
701
            mkpdf_options="$$mkpdf_options --verbose"; \
 
702
          fi; \
 
703
        fi; \
682
704
        if test "x$(HTML_IMAGES)" != "x"; then \
683
705
          for img in $(HTML_IMAGES); do \
684
706
            part=`dirname $$img`; \
685
 
            echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
 
707
            echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
686
708
            if test $$? != 0; then \
687
 
              mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
 
709
              mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
688
710
            fi; \
689
711
          done; \
690
712
        fi; \
691
 
        gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
 
713
        gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
692
714
        @touch pdf-build.stamp
693
715
 
694
716
##############
695
717
 
696
718
clean-local:
697
 
        rm -f *~ *.bak
698
 
        rm -rf .libs
 
719
        @rm -f *~ *.bak
 
720
        @rm -rf .libs
699
721
 
700
722
distclean-local:
701
 
        rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
 
723
        @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
702
724
            $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
703
 
        if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
 
725
        @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
704
726
            rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
705
727
            rm -rf tmpl; \
706
728
        fi
707
729
 
708
730
maintainer-clean-local: clean
709
 
        rm -rf xml html
 
731
        @rm -rf xml html
710
732
 
711
733
install-data-local:
712
 
        @installfiles=`echo $(srcdir)/html/*`; \
713
 
        if test "$$installfiles" = '$(srcdir)/html/*'; \
714
 
        then echo '-- Nothing to install' ; \
 
734
        @installfiles=`echo $(builddir)/html/*`; \
 
735
        if test "$$installfiles" = '$(builddir)/html/*'; \
 
736
        then echo 1>&2 'Nothing to install' ; \
715
737
        else \
716
738
          if test -n "$(DOC_MODULE_VERSION)"; then \
717
739
            installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
720
742
          fi; \
721
743
          $(mkinstalldirs) $${installdir} ; \
722
744
          for i in $$installfiles; do \
723
 
            echo '-- Installing '$$i ; \
 
745
            echo ' $(INSTALL_DATA) '$$i ; \
724
746
            $(INSTALL_DATA) $$i $${installdir}; \
725
747
          done; \
726
748
          if test -n "$(DOC_MODULE_VERSION)"; then \
727
749
            mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
728
750
              $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
729
 
            mv -f $${installdir}/$(DOC_MODULE).devhelp \
730
 
              $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
731
751
          fi; \
732
752
          $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
733
753
        fi
749
769
@ENABLE_GTK_DOC_FALSE@  @false
750
770
 
751
771
dist-hook: dist-check-gtkdoc dist-hook-local
752
 
        mkdir $(distdir)/tmpl
753
 
        mkdir $(distdir)/html
754
 
        -cp $(build)/tmpl/*.sgml $(distdir)/tmpl
755
 
        cp $(builddir)/html/* $(distdir)/html
756
 
        -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
757
 
        -cp $(build)/$(DOC_MODULE).types $(distdir)/
758
 
        -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/
759
 
        cd $(distdir) && rm -f $(DISTCLEANFILES)
760
 
        $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
 
772
        @mkdir $(distdir)/tmpl
 
773
        @mkdir $(distdir)/html
 
774
        @-cp ./tmpl/*.sgml $(distdir)/tmpl
 
775
        @cp ./html/* $(distdir)/html
 
776
        @-cp ./$(DOC_MODULE).pdf $(distdir)/
 
777
        @-cp ./$(DOC_MODULE).types $(distdir)/
 
778
        @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
 
779
        @cd $(distdir) && rm -f $(DISTCLEANFILES)
 
780
        @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
761
781
 
762
782
.PHONY : dist-hook-local docs
763
783