View | Details | Raw Unified
Collapse All | Expand All

(-) ../octave-forge-2004.11.16.orig/extra/mex/Makefile (-14 / +14 lines)
 Lines 43-65    Link Here 
	  $(INSTALL_DATA) matrix.h $(LIBPATH)/matrix.h ; \
	  $(INSTALL_DATA) matrix.h $(LIBPATH)/matrix.h ; \
	fi
	fi
endif
endif
	@if ! test -e $(man1dir) ; then \
	@if ! test -e $(DESTDIR)/$(man1dir) ; then \
	  echo creating $(man1dir) ; \
	  echo creating $(DESTDIR)/$(man1dir) ; \
	  $(INSTALL) -d $(man1dir) ; \
	  $(INSTALL) -d $(DESTDIR)/$(man1dir) ; \
	fi
	fi
	@if test -d $(man1dir) ; then \
	@if test -d $(DESTDIR)/$(man1dir) ; then \
	  echo installing mex/mex.1 in $(man1dir) ; \
	  echo installing mex/mex.1 in $(DESTDIR)/$(man1dir) ; \
	  $(RM) $(man1dir)/mex.1; \
	  $(RM) $(DESTDIR)/$(man1dir)/mex.1; \
	  $(INSTALL_DATA) mex.1 $(man1dir)/mex.1 ; \
	  $(INSTALL_DATA) mex.1 $(DESTDIR)/$(man1dir)/mex.1 ; \
	fi
	fi
	@if ! test -e $(bindir) ; then \
	@if ! test -e $(DESTDIR)/$(bindir) ; then \
	  echo creating $(bindir) ; \
	  echo creating $(DESTDIR)/$(bindir) ; \
	  $(INSTALL) -d $(bindir) ; \
	  $(INSTALL) -d $(DESTDIR)/$(bindir) ; \
	fi
	fi
	@if test -d $(bindir) ; then \
	@if test -d $(DESTDIR)/$(bindir) ; then \
	  echo installing mex/mex in $(bindir) ; \
	  echo installing mex/mex in $(DESTDIR)/$(bindir) ; \
	  $(RM) $(bindir)/mex ; \
	  $(RM) $(DESTDIR)/$(bindir)/mex ; \
	  $(INSTALL_SCRIPT) mex $(bindir)/mex ; \
	  $(INSTALL_SCRIPT) mex $(DESTDIR)/$(bindir)/mex ; \
	fi
	fi
clean: ; $(RM) mex mex_* $(MEXLIB) *.o *.oct core octave-core *~
clean: ; $(RM) mex mex_* $(MEXLIB) *.o *.oct core octave-core *~