diff octMakefile.in @ 803:1844c17634f9

[project @ 1994-10-13 23:17:34 by jwe]
author jwe
date Thu, 13 Oct 1994 23:17:34 +0000
parents 0acec886a912
children 1865b6725111
line wrap: on
line diff
--- a/octMakefile.in	Thu Oct 13 17:13:55 1994 +0000
+++ b/octMakefile.in	Thu Oct 13 23:17:34 1994 +0000
@@ -16,10 +16,11 @@
 
 DISTFILES = BUGS COPYING INSTALL INSTALL.OCTAVE Makefile.in \
 	Makeconf.in NEWS PROJECTS README README.NLP SENDING-PATCHES \
-	THANKS f2c-compat.sh flibs.sh cxxlibs.sh configure configure.in \
-	config.guess config.sub float-type.c move-if-change octave.sh \
-	octave-bug.in octave-mode.el install.sh doinstall.sh mkpath.c \
-	config.h.in acconfig.h MAKEINFO.PATCH ChangeLog ChangeLog.[0-9]
+	THANKS f2c-compat.sh flibs.sh cxxlibs.sh configure \
+	configure.in config.guess config.sub float-type.c \
+	move-if-change octave.sh octave-bug.in octave-mode.el \
+	install.sh doinstall.sh mkinstalldirs config.h.in acconfig.h \
+	MAKEINFO.PATCH ChangeLog ChangeLog.[0-9]
 
 # Complete directory trees to distribute.
 DISTDIRS = bsd-math kpathsea
@@ -32,7 +33,7 @@
 
 BINDISTFILES = COPYING ChangeLog NEWS README THANKS INSTALL.OCTAVE \
 	BUGS PROJECTS octave.sh octave-mode.el doinstall.sh \
-	mkpath
+	mkinstalldirs
 
 # Subdirectories to run `make dist' in
 BINDISTSUBDIRS = doc scripts
@@ -41,13 +42,10 @@
   `echo $(localfcnfilepath) | awk -F: '{for (i=1; i<=NF; i++) print $i}'` \
   `echo $(localoctfilepath) | awk -F: '{for (i=1; i<=NF; i++) print $i}'`
 
-all: mkpath octave-bug
+all: octave-bug
 	for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done
 .PHONY: all
 
-mkpath:
-	$(CC) $(ALL_CFLAGS) $(srcdir)/mkpath.c -o mkpath
-
 octave-bug: octave-bug.in
 	@(sed < $< > $@.tmp \
 	  -e "s;%VERSION%;${version};" \
@@ -114,9 +112,7 @@
 .PHONY: BUGS.info
 
 install:
-	for dir in $(DIRS_TO_MAKE) ; do \
-	  if test -d $$dir ; then true ; else ./mkpath $$dir ; fi ; \
-	done
+	$(srcdir)/mkinstalldirs $(DIRS_TO_MAKE)
 	install -m 755 octave-bug $(bindir)/octave-bug
 	for dir in $(SUBDIRS); do echo making $@ in $$dir; cd $$dir; $(MAKE) $@; cd ..; done
 .PHONY: install