Mercurial > hg > octave-lojdl
changeset 1182:1f7cab2821b5
[project @ 1995-03-30 04:48:42 by jwe]
author | jwe |
---|---|
date | Thu, 30 Mar 1995 04:48:42 +0000 |
parents | b2b7c5264ac2 |
children | 8d45d63ecbc8 |
files | scripts/Makefile.in |
diffstat | 1 files changed, 19 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -26,51 +26,45 @@ SUBDIRS = control elfun general image linear-algebra miscellaneous \ plot polynomial set signal specfun special-matrix startup \ - statistics strings + statistics strings time DISTSUBDIRS = $(SUBDIRS) FCN_FILES = # $(wildcard $(srcdir)/*.m) FCN_FILES_NO_DIR = # $(notdir $(FCN_FILES)) -all: - for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done +all: $(SUBDIRS) .PHONY: all -install: - for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done +$(SUBDIRS): + echo making all in $@ + cd $@ ; $(MAKE) all +.PHONY: $(SUBDIRS) + +install uninstall clean mostlyclean distclean realclean:: + $(SUBDIR_FOR_COMMAND) +.PHONY: install uninstall clean mostlyclean distclean realclean + +install:: ls -R $(datadir)/octave > $(datadir)/octave/ls-R -.PHONY: install -uninstall: - for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done +uninstall:: rm -f $(datadir)/octave/ls-R -.PHONY: uninstall -clean: -.PHONY: clean +tags TAGS:: $(SOURCES) + $(SUBDIR_FOR_COMMAND) -tags: $(SOURCES) - for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done +tags:: ctags $(SOURCES) -TAGS: $(SOURCES) - for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done +TAGS:: $(SOURCES) etags $(SOURCES) -mostlyclean: clean - for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done -.PHONY: mostlyclean - -distclean: clean - for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done +distclean:: rm -f Makefile -.PHONY: distclean -realclean: - for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done +realclean:: rm -f tags TAGS Makefile -.PHONY: realclean local-dist: ln $(DISTFILES) ../`cat ../.fname`/scripts