mc/doc/Makefile.in

87 lines
2.3 KiB
Makefile
Raw Normal View History

1998-02-27 07:54:42 +03:00
srcdir = @srcdir@
VPATH = @srcdir@
rootdir = $(srcdir)/..
@MCFG@@MCF@
#
# Distribution variables
#
DISTDOC = Makefile.in LSM DEVEL FILES mc.sgml gnome.sgml \
1998-02-27 07:54:42 +03:00
mc.1.in mcedit.1.in mcserv.8.in
LINUXDOCDIR = /usr/local/linuxdoc-sgml
all: Makefile
Makefile: $(srcdir)/Makefile.in $(builddir)/config.status
cd $(builddir) && CONFIG_FILES=doc/Makefile CONFIG_HEADERS= $(SHELL) ./config.status
1998-02-27 07:54:42 +03:00
install:
$(MKINSTALLDIRS) $(DESTDIR)$(man1dir)
$(MKINSTALLDIRS) $(DESTDIR)$(man8dir)
1999-02-04 22:16:01 +03:00
-$(SEDCMD2) < mc.1 > $(DESTDIR)$(man1dir)/$(manprefix)mc.$(manext)
-$(SEDCMD2) < mcedit.1 > $(DESTDIR)$(man1dir)/$(manprefix)mcedit.$(manext)
-$(SEDCMD2) < mcserv.8 > $(DESTDIR)$(man8dir)/$(manprefix)mcserv.$(man8ext)
1998-02-27 07:54:42 +03:00
uninstall:
$(RMF) $(DESTDIR)$(man1dir)/$(manprefix)mc.$(manext)
$(RMF) $(DESTDIR)$(man1dir)/$(manprefix)mcedit.$(manext)
$(RMF) $(DESTDIR)$(man8dir)/$(manprefix)mcserv.$(man8ext)
1998-02-27 07:54:42 +03:00
check:
@echo no tests are supplied.
TAGS:
cross:
alldoc: mc.html mc.info mc.dvi mc.ps mc.tex mc.txt mc.hlp mc.texi mc.1 mcedit.1
mc.html: mc.sgml
-mkdir html
cd html; $(LN_S) $(srcdir)/mc.sgml .; $(LINUXDOCDIR)/bin/format -T htmlx mc; $(RMF) mc.sgml
if test -f html/FILEROOT.html; then mv html/FILEROOT.html html/mc.html; fi
mc.info: mc.sgml
-mkdir info
cd info; $(LINUXDOCDIR)/bin/format -T info $(srcdir)/mc > mc.info
mc.dvi: mc.sgml
$(LINUXDOCDIR)/bin/format -T latex $(srcdir)/mc | $(LINUXDOCDIR)/bin/qtex -d > mc.dvi
mc.ps: mc.sgml
$(LINUXDOCDIR)/bin/format -T latex $(srcdir)/mc | $(LINUXDOCDIR)/bin/qtex > mc.ps
mc.tex: mc.sgml
$(LINUXDOCDIR)/bin/format -T latex $(srcdir)/mc > mc.tex
mc.txt: mc.sgml
$(LINUXDOCDIR)/bin/format -T ascii $(srcdir)/mc > mc.txt
../src/fixhlp:
cd ../src; $(MAKE) fixhlp
mc.hlp: mc.sgml ../src/fixhlp $(mcsrclibdir)/xnc.hlp
1998-02-27 07:54:42 +03:00
$(LINUXDOCDIR)/bin/format -T hlp $(srcdir)/mc | ../src/fixhlp 58 mc.hlp.toc > mc.hlp.tmp
cat mc.hlp.toc mc.hlp.tmp $(mcsrclibdir)/xnc.hlp > mc.hlp
1998-02-27 07:54:42 +03:00
$(RMF) mc.hlp.toc mc.hlp.tmp
mc.texi: mc.sgml
$(LINUXDOCDIR)/bin/format -T texi $(srcdir)/mc > mc.texi
mc.1: mc.sgml
$(LINUXDOCDIR)/bin/format -T man $(srcdir)/mc > mc.1
clean:
realclean:
distclean:
$(RMF) $(srcdir)/*~ $(srcdir)/Makefile $(srcdir)/*.1 $(srcdir)/*.8
1998-02-27 07:54:42 +03:00
distcopy:
for I in $(DISTDOC); do $(CP) $(top_srcdir)/doc/$$I $(top_srcdir)/mc-$(VERSION)/doc; done
1998-02-27 07:54:42 +03:00
depend dep: