~ubuntu-branches/debian/wheezy/nautilus/wheezy

« back to all changes in this revision

Viewing changes to docs/reference/libnautilus-extension/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2011-11-21 20:52:38 UTC
  • mfrom: (3.1.14 experimental)
  • Revision ID: package-import@ubuntu.com-20111121205238-lo8b89pqpzv9p1jk
Tags: 3.2.1-2
* Upload to unstable.
* debian/control.in:
  - Drop Build-Depends on libdbus-glib-1-dev, no longer required.
  - Drop Recommends on desktop-base. It was originally added when nautilus
    was patched to show the .desktop icons from the desktop-base package. We
    don't do that anymore, so the Recommends has become obsolete.
  - Drop Recommends on consolekit. The ConsoleKit specific functionality has
    been moved into gnome-settings-daemon.
  - Drop Recommends on synaptic and app-install-data. We no longer call
    synaptic for mimetypes without a handler as this functionality is
    provided by alternatives like PackageKit or sessioninstaller now.
  - Update Vcs-* URLs.
* debian/nautilus-data.gconf-defaults:
  - Removed, obsolete.
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
GREP = @GREP@
113
113
GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
114
114
GTKDOC_CHECK = @GTKDOC_CHECK@
 
115
GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
 
116
GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
115
117
GTKDOC_MKPDF = @GTKDOC_MKPDF@
116
118
GTKDOC_REBASE = @GTKDOC_REBASE@
117
119
HTML_DIR = @HTML_DIR@
181
183
SET_MAKE = @SET_MAKE@
182
184
SHELL = @SHELL@
183
185
STRIP = @STRIP@
 
186
TRACKER_CFLAGS = @TRACKER_CFLAGS@
 
187
TRACKER_LIBS = @TRACKER_LIBS@
184
188
UPDATE_MIME_DATABASE = @UPDATE_MIME_DATABASE@
185
189
USE_NLS = @USE_NLS@
186
190
VERSION = @VERSION@
318
322
        $(BASE_LIBS)                                        \
319
323
        $(NULL)
320
324
 
321
 
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
322
 
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
323
 
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
324
 
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
 
325
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
326
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
327
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
 
328
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
325
329
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = 
326
330
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
327
331
 
343
347
 
344
348
# Other files to distribute
345
349
# e.g. EXTRA_DIST += version.xml.in
346
 
EXTRA_DIST = $(SETUP_FILES) version.xml.in
 
350
EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml.in
347
351
DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
348
352
        html-build.stamp pdf-build.stamp \
349
 
        setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp
 
353
        tmpl.stamp sgml.stamp html.stamp pdf.stamp
350
354
 
351
355
SCANOBJ_FILES = \
352
356
        $(DOC_MODULE).args       \
571
575
 
572
576
setup-build.stamp:
573
577
        -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
574
 
           echo 'gtk-doc: Preparing build'; \
575
 
           files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
576
 
           if test "x$$files" != "x" ; then \
577
 
               for file in $$files ; do \
578
 
                   test -f $(abs_srcdir)/$$file && \
579
 
                       cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
580
 
               done \
581
 
           fi; \
582
 
           test -f $(abs_srcdir)/tmpl && \
583
 
               cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
 
578
            echo '  DOC   Preparing build'; \
 
579
            files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
 
580
            if test "x$$files" != "x" ; then \
 
581
                for file in $$files ; do \
 
582
                    test -f $(abs_srcdir)/$$file && \
 
583
                        cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
 
584
                done; \
 
585
            fi; \
 
586
            test -f $(abs_srcdir)/tmpl && \
 
587
                cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
584
588
        fi
585
589
        @touch setup-build.stamp
586
590
 
587
 
setup.stamp: setup-build.stamp
588
 
        @true
589
 
 
590
591
#### scan ####
591
592
 
592
593
scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
593
 
        @echo 'gtk-doc: Scanning header files'
 
594
        @echo '  DOC   Scanning header files'
594
595
        @_source_dir='' ; \
595
596
        for i in $(DOC_SOURCE_DIR) ; do \
596
597
            _source_dir="$${_source_dir} --source-dir=$$i" ; \
597
598
        done ; \
598
599
        gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
599
600
        @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
600
 
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \
 
601
            echo "  DOC   Introspecting gobjects"; \
 
602
            scanobj_options=""; \
 
603
            gtkdoc-scangobj 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
604
            if test "$(?)" = "0"; then \
 
605
                if test "x$(V)" = "x1"; then \
 
606
                    scanobj_options="--verbose"; \
 
607
                fi; \
 
608
            fi; \
 
609
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
 
610
            gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
601
611
        else \
602
612
            for i in $(SCANOBJ_FILES) ; do \
603
 
               test -f $$i || touch $$i ; \
 
613
                test -f $$i || touch $$i ; \
604
614
            done \
605
615
        fi
606
616
        @touch scan-build.stamp
610
620
 
611
621
#### templates ####
612
622
 
613
 
tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
614
 
        @echo 'gtk-doc: Rebuilding template files'
 
623
tmpl-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
 
624
        @echo '  DOC   Rebuilding template files'
615
625
        @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
616
626
        @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
617
627
          if test -w $(abs_srcdir) ; then \
629
639
#### xml ####
630
640
 
631
641
sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
632
 
        @echo 'gtk-doc: Building XML'
 
642
        @echo '  DOC   Building XML'
633
643
        @-chmod -R u+w $(srcdir)
634
644
        @_source_dir='' ; \
635
645
        for i in $(DOC_SOURCE_DIR) ; do \
644
654
#### html ####
645
655
 
646
656
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
647
 
        @echo 'gtk-doc: Building HTML'
 
657
        @echo '  DOC   Building HTML'
648
658
        @rm -rf html
649
659
        @mkdir html
650
660
        @mkhtml_options=""; \
 
661
        gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
662
        if test "$(?)" = "0"; then \
 
663
          if test "x$(V)" = "x1"; then \
 
664
            mkhtml_options="$$mkhtml_options --verbose"; \
 
665
          fi; \
 
666
        fi; \
651
667
        gtkdoc-mkhtml 2>&1 --help | grep  >/dev/null "\-\-path"; \
652
668
        if test "$(?)" = "0"; then \
653
 
          mkhtml_options=--path="$(abs_srcdir)"; \
 
669
          mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
654
670
        fi; \
655
671
        cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
656
672
        -@test "x$(HTML_IMAGES)" = "x" || \
662
678
            cp $(abs_builddir)/$$file $(abs_builddir)/html; \
663
679
          fi; \
664
680
        done;
665
 
        @echo 'gtk-doc: Fixing cross-references'
 
681
        @echo '  DOC   Fixing cross-references'
666
682
        @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
667
683
        @touch html-build.stamp
668
684
 
669
685
#### pdf ####
670
686
 
671
687
pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
672
 
        @echo 'gtk-doc: Building PDF'
673
 
        @rm -rf $(DOC_MODULE).pdf
674
 
        @mkpdf_imgdirs=""; \
 
688
        @echo '  DOC   Building PDF'
 
689
        @rm -f $(DOC_MODULE).pdf
 
690
        @mkpdf_options=""; \
 
691
        gtkdoc-mkpdf 2>&1 --help | grep  >/dev/null "\-\-verbose"; \
 
692
        if test "$(?)" = "0"; then \
 
693
          if test "x$(V)" = "x1"; then \
 
694
            mkpdf_options="$$mkpdf_options --verbose"; \
 
695
          fi; \
 
696
        fi; \
675
697
        if test "x$(HTML_IMAGES)" != "x"; then \
676
698
          for img in $(HTML_IMAGES); do \
677
699
            part=`dirname $$img`; \
678
 
            echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
 
700
            echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
679
701
            if test $$? != 0; then \
680
 
              mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
 
702
              mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
681
703
            fi; \
682
704
          done; \
683
705
        fi; \
684
 
        gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
 
706
        gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
685
707
        @touch pdf-build.stamp
686
708
 
687
709
##############
688
710
 
689
711
clean-local:
690
 
        rm -f *~ *.bak
691
 
        rm -rf .libs
 
712
        @rm -f *~ *.bak
 
713
        @rm -rf .libs
692
714
 
693
715
distclean-local:
694
 
        rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
 
716
        @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
695
717
            $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
696
 
        if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
 
718
        @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
697
719
            rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
698
720
            rm -rf tmpl; \
699
721
        fi
700
722
 
701
723
maintainer-clean-local: clean
702
 
        rm -rf xml html
 
724
        @rm -rf xml html
703
725
 
704
726
install-data-local:
705
727
        @installfiles=`echo $(srcdir)/html/*`; \
706
728
        if test "$$installfiles" = '$(srcdir)/html/*'; \
707
 
        then echo '-- Nothing to install' ; \
 
729
        then echo 1>&2 'Nothing to install' ; \
708
730
        else \
709
731
          if test -n "$(DOC_MODULE_VERSION)"; then \
710
732
            installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
713
735
          fi; \
714
736
          $(mkinstalldirs) $${installdir} ; \
715
737
          for i in $$installfiles; do \
716
 
            echo '-- Installing '$$i ; \
 
738
            echo ' $(INSTALL_DATA) '$$i ; \
717
739
            $(INSTALL_DATA) $$i $${installdir}; \
718
740
          done; \
719
741
          if test -n "$(DOC_MODULE_VERSION)"; then \
720
742
            mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
721
743
              $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
722
 
            mv -f $${installdir}/$(DOC_MODULE).devhelp \
723
 
              $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
724
744
          fi; \
725
745
          $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
726
746
        fi
742
762
@ENABLE_GTK_DOC_FALSE@  @false
743
763
 
744
764
dist-hook: dist-check-gtkdoc dist-hook-local
745
 
        mkdir $(distdir)/tmpl
746
 
        mkdir $(distdir)/html
747
 
        -cp $(build)/tmpl/*.sgml $(distdir)/tmpl
748
 
        cp $(builddir)/html/* $(distdir)/html
749
 
        -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
750
 
        -cp $(build)/$(DOC_MODULE).types $(distdir)/
751
 
        -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/
752
 
        cd $(distdir) && rm -f $(DISTCLEANFILES)
753
 
        $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
 
765
        @mkdir $(distdir)/tmpl
 
766
        @mkdir $(distdir)/html
 
767
        @-cp ./tmpl/*.sgml $(distdir)/tmpl
 
768
        @cp ./html/* $(distdir)/html
 
769
        @-cp ./$(DOC_MODULE).pdf $(distdir)/
 
770
        @-cp ./$(DOC_MODULE).types $(distdir)/
 
771
        @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
 
772
        @cd $(distdir) && rm -f $(DISTCLEANFILES)
 
773
        @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
754
774
 
755
775
.PHONY : dist-hook-local docs
756
776