Section: Programming
Format: HTML
-Index: /usr/share/doc/comerr-dev/html-info/com_err.html
+Index: /usr/share/doc/comerr-dev/html-info/com_err_toc.html
Files: /usr/share/doc/comerr-dev/html-info/*.html
$(MAKE) -C ${stdbuilddir} all
$(MAKE) -C ${stdbuilddir}/e2fsck e2fsck.static
- ( cd ${stdbuilddir}/doc && \
- texi2html -split_chapter ${topdir}/doc/libext2fs.texinfo )
- ( cd ${stdbuilddir}/lib/et && $(MAKE) com_err.info && \
- texi2html -split_chapter -expandinfo ${topdir}/lib/et/com_err.texinfo )
+ ( cd ${stdbuilddir}/doc && $(MAKE) libext2fs_abt.html )
+ ( cd ${stdbuilddir}/lib/et && $(MAKE) com_err.info com_err_abt.html )
# specially-built MIPS libs
ifneq ($(ismips),)
[ ! -f ${bfbuilddir}/Makefile ] || $(MAKE) -C ${bfbuilddir} distclean
[ ! -f ${staticbuilddir}/Makefile ] || $(MAKE) -C ${staticbuilddir} distclean
rm -rf ${stdbuilddir} ${bfbuilddir} ${staticbuilddir} ${mipsbuilddir} ${mipsbuilddir64}
- rm -f doc/libext2fs/*.html lib/et/com_err/*.html debian/*.substvars
+ rm -f debian/*.substvars
dh_clean
install: cleanup install-std
# HTML docs
$(INSTALL) -d ${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/html-info/
- $(INSTALL) -p -m 0644 ${stdbuilddir}/doc/libext2fs/*.html \
+ $(INSTALL) -p -m 0644 ${stdbuilddir}/doc/*.html \
${debdir}/e2fslibs-dev/usr/share/doc/e2fslibs/html-info/
$(INSTALL) -d ${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/html-info/
- $(INSTALL) -p -m 0644 ${stdbuilddir}/lib/et/com_err/*.html \
+ $(INSTALL) -p -m 0644 ${stdbuilddir}/lib/et/*.html \
${debdir}/comerr-dev/usr/share/doc/libcomerr${COMERR_SOVERSION}/html-info/
# texinfo docs
DVI=texi2dvi
DVIPS=dvips -o "$@"
INFO=@MAKEINFO@
-HTML=texi2html
+HTML=texi2html -split_chapter
all:: libext2fs.info libext2fs.dvi
$(E) " TEXI2DVI $@"
-$(Q) $(DVI) $(srcdir)/libext2fs.texinfo
+libext2fs_abt.html: $(srcdir)/libext2fs.texinfo
+ $(E) " TEXI2HTML $@"
+ -$(Q) $(HTML) $(srcdir)/libext2fs.texinfo
+ -$(Q) if test -d libext2fs ; then \
+ mv libext2fs/* . ; rmdir libext2fs ; \
+ fi
+
.PHONY: distclean
distclean:: clean
$(RM) -f Makefile
clean:: clean-all
.PHONY: clean-all
-clean-all:: clean-tex clean-backup clean-final clean-tarfiles
+clean-all:: clean-tex clean-backup clean-final clean-tarfiles clean-html
.PHONY: clean-final
clean-final::
.PHONY: clean-tarfiles
clean-tarfiles::
$(RM) -f *.tar *.tar.gz *.tgz
+
+clean-html::
+ $(RM) -f *.html
+
com_err.ps : com_err.dvi
com_err.dvi: com_err.texinfo
+com_err_abt.html: $(srcdir)/com_err.texinfo
+ $(E) " TEXI2HTML $@"
+ -$(Q) texi2html -split_chapter $(srcdir)/com_err.texinfo
+ -$(Q) if test -d com_err ; then \
+ mv com_err/* . ; rmdir com_err ; \
+ fi
+
com_err.pc: $(srcdir)/com_err.pc.in $(top_builddir)/config.status
$(E) " CONFIG.STATUS $@"
$(Q) cd $(top_builddir); CONFIG_FILES=lib/et/com_err.pc ./config.status
clean::
$(RM) -f compile_et libcom_err.a libcom_err_p.a com_err.info
$(RM) -f $(OBJS) profiled/*
- $(RM) -f *~ \#* *.bak *.otl *.aux *.toc *.PS *.dvi *.ps TAGS *.ln
+ $(RM) -f *~ \#* *.bak *.otl *.aux *.toc *.PS *.dvi *.ps TAGS *.ln *.html
$(RM) -f ../libcom_err.a ../libcom_err_p.a
mostlyclean:: clean
originally written; and everyone I've talked into --- I mean, asked to read
this document and the ``man'' pages.
+@contents
@bye