e2fsprogs/doc/Makefile.in
Theodore Ts'o e5fa0e3031 ChangeLog, Makefile.in:
Remove libext2fs.info*, not just libext2fs.info*.gz.  Add an
  uninstall-doc-libs target.
ChangeLog, Makefile.in, compile_et.1, compile_et.sh.in:
  Makefile.in: Fix bug where my_dir was set incorrectly.  Install the
  	et_c.awk and et_h.awk files in $(datadir)/et (i.e., /usr/share/et)
  	directory.  Change to use new installation directory variables
  	convention.  Fix uninstall rules to take $(DESTDIR) into account.
  compile_et.1: Change man page to reflect the fact that compile_et is
  	now a awk/sed script, not a yacc script.
  compile_et.sh.in: Look in $(datadir)/et for et_c.awk and et_h.awk; if
  	not found, look in the build directory.  Add error checking for
  	non-existent input file.
ChangeLog, Makefile.in, mk_cmds.sh.in:
  Makefile.in: Install the ct_c.awk and ct_c.sed files in $(datadir)/ss
  	(i.e., /usr/share/ss) directory.  Change to use new installation
  	directory variables convention.  Fix uninstall rules to take
  	$(DESTDIR) into account.
  mk_cmds.sh.in: Look in $(datadir)/ss for ct_c.awk and ct_c.sed; if not
  	found, look in the build directory.  Add error checking for
  	non-existent input file.
ChangeLog, Makefile.in:
  Makefile.in: Change to use new installation directory variables
  	convention.  Fix uninstall rules to take $(DESTDIR) into account.
1998-04-01 02:18:45 +00:00

63 lines
1.1 KiB
Makefile

#
# Makefile for the doc directory
#
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
top_builddir = ..
my_dir = doc
INSTALL = @INSTALL@
@MCONFIG@
DVI=texi2dvi
DVIPS=dvips -o "$@"
INFO=makeinfo
HTML=texi2html
RM=/bin/rm -rf
all:: libext2fs.info libext2fs.dvi
install-doc-libs:
$(RM) $(DESTDIR)$(infodir)/libext2fs.info*
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(infodir)
for i in libext2fs.info* ; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \
done
gzip -9 $(DESTDIR)$(infodir)/libext2fs.info*
uninstall-doc-libs:
$(RM) $(DESTDIR)$(infodir)/libext2fs.info*
libext2fs.info: $(srcdir)/libext2fs.texinfo
$(INFO) $(srcdir)/libext2fs.texinfo
libext2fs.dvi: $(srcdir)/libext2fs.texinfo
$(DVI) $(srcdir)/libext2fs.texinfo
.PHONY: clean
clean:: clean-all
.PHONY: clean-all
clean-all:: clean-tex clean-backup clean-final clean-tarfiles
.PHONY: clean-final
clean-final::
$(RM) *.ps *.info *.info-? *.html
.PHONY: clean-tex
clean-tex::
$(RM) *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr *.fns
.PHONY: clean-backup
clean-backup::
$(RM) *~ #*
.PHONY: clean-tarfiles
clean-tarfiles::
$(RM) *.tar *.tar.gz *.tgz