View | Details | Raw Unified
Collapse All | Expand All

(-) gtk-doc-1.10-orig/xmldocs.make (-10 / +10 lines)
 Lines 34-42    Link Here 
# **********  Begin of section some packagers may need to modify  **********
# **********  Begin of section some packagers may need to modify  **********
# This variable (docdir) specifies where the documents should be installed.
# This variable (xmldir) specifies where the documents should be installed.
# This default value should work for most packages.
# This default value should work for most packages.
docdir = $(datadir)/gnome/help/$(docname)/$(lang)
xmldir = $(datadir)/gnome/help/$(docname)/$(lang)
# **********  You should not have to edit below this line  **********
# **********  You should not have to edit below this line  **********
xml_files = $(entities) $(docname).xml
xml_files = $(entities) $(docname).xml
 Lines 63-77   app-dist-hook: Link Here 
	fi
	fi
install-data-local: omf
install-data-local: omf
	$(mkinstalldirs) $(DESTDIR)$(docdir)
	$(mkinstalldirs) $(DESTDIR)$(xmldir)
	for file in $(xml_files); do \
	for file in $(xml_files); do \
	  cp $(srcdir)/$$file $(DESTDIR)$(docdir); \
	  cp $(srcdir)/$$file $(DESTDIR)$(xmldir); \
	done
	done
	if test "$(figdir)"; then \
	if test "$(figdir)"; then \
	  $(mkinstalldirs) $(DESTDIR)$(docdir)/$(figdir); \
	  $(mkinstalldirs) $(DESTDIR)$(xmldir)/$(figdir); \
	  for file in $(srcdir)/$(figdir)/*.png; do \
	  for file in $(srcdir)/$(figdir)/*.png; do \
	    basefile=`echo $$file | sed -e  's,^.*/,,'`; \
	    basefile=`echo $$file | sed -e  's,^.*/,,'`; \
	    $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \
	    $(INSTALL_DATA) $$file $(DESTDIR)$(xmldir)/$(figdir)/$$basefile; \
	  done \
	  done \
	fi
	fi
 Lines 83-96   uninstall-local-doc: Link Here 
	-if test "$(figdir)"; then \
	-if test "$(figdir)"; then \
	  for file in $(srcdir)/$(figdir)/*.png; do \
	  for file in $(srcdir)/$(figdir)/*.png; do \
	    basefile=`echo $$file | sed -e  's,^.*/,,'`; \
	    basefile=`echo $$file | sed -e  's,^.*/,,'`; \
	    rm -f $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \
	    rm -f $(DESTDIR)$(xmldir)/$(figdir)/$$basefile; \
	  done; \
	  done; \
	  rmdir $(DESTDIR)$(docdir)/$(figdir); \
	  rmdir $(DESTDIR)$(xmldir)/$(figdir); \
	fi
	fi
	-for file in $(xml_files); do \
	-for file in $(xml_files); do \
	  rm -f $(DESTDIR)$(docdir)/$$file; \
	  rm -f $(DESTDIR)$(xmldir)/$$file; \
	done
	done
	-rmdir $(DESTDIR)$(docdir)
	-rmdir $(DESTDIR)$(xmldir)
clean-local: clean-local-doc clean-local-omf
clean-local: clean-local-doc clean-local-omf