view doc/Makefile.in @ 2747:b8e8a4900cc6

[project @ 1997-02-26 17:53:27 by jwe]
author jwe
date Wed, 26 Feb 1997 17:55:25 +0000
parents cd5f72e530e2
children 1dd37f97364a
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 texinfo.tex 

SUBDIRS = faq interpreter liboctave refcard

DISTSUBDIRS = $(SUBDIRS)

BINDISTSUBDIRS = $(SUBDIRS)

all: $(SUBDIRS)
.PHONY: all

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

../BUGS:
	cd interpreter ; $(MAKE) ../../BUGS
.PHONY: ../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

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

bin-dist:
	for dir in $(BINDISTSUBDIRS); do mkdir ../`cat ../.fname`/doc/$$dir; cd $$dir; $(MAKE) $@; cd ..; done
.PHONY: bin-dist