view doc/Makefile.in @ 2452:a28ed603c65c

[project @ 1996-10-31 19:49:29 by jwe]
author jwe
date Thu, 31 Oct 1996 19:52:17 +0000
parents 4fc9fd1424a9
children ccd72573a0cf
line wrap: on
line source

#
# Makefile for octave's doc directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

TOPDIR = ..

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

include $(TOPDIR)/Makeconf

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

SOURCES =

DISTFILES = Makefile.in ChangeLog conf.texi.in texinfo.tex 

SUBDIRS = faq interpreter liboctave refcard

DISTSUBDIRS = $(SUBDIRS)

all: $(SUBDIRS)
.PHONY: all

../INSTALL.OCTAVE:
	cd interpreter ; $(MAKE) ../../INSTALL.OCTAVE

../BUGS:
	cd interpreter ; $(MAKE) ../../BUGS

$(SUBDIRS):
	echo making all in $@
	cd $@ ; $(MAKE) all
.PHONY: $(SUBDIRS)

install uninstall clean mostlyclean distclean maintainer-clean::
	@$(subdir-for-command)
.PHONY: install uninstall clean mostlyclean distclean maintainer-clean

tags TAGS:: $(SOURCES)
	$(SUBDIR_FOR_COMMAND)

tags::
	ctags $(SOURCES)

TAGS:: $(SOURCES)
	etags $(SOURCES)

distclean::
	rm -f Makefile

maintainer-clean::
	rm -f tags TAGS Makefile

local-dist:
	ln $(DISTFILES) ../`cat ../.fname`/doc
	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; cd $$dir; $(MAKE) $@; cd ..; done
.PHONY: local-dist

dist:
	ln $(DISTFILES) ../`cat ../.fname`/doc
	for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; cd $$dir; $(MAKE) $@; cd ..; done
.PHONY: dist