353a876869
have been many many changes including many bug fixes, graphics improvements, editor improvements, new toolbox functions, etc.
69 lines
2.5 KiB
Text
69 lines
2.5 KiB
Text
$NetBSD: patch-aw,v 1.7 2007/03/23 22:08:58 dmcmahill Exp $
|
|
|
|
--- Makefile.in.orig 2006-12-11 12:41:55.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -4,7 +4,7 @@ binary:
|
|
@if test -f .binary; then \
|
|
echo "Humm... this is a binary version"; \
|
|
config/findpath; \
|
|
- (cd scripts; make); \
|
|
+ (cd scripts; $(MAKE)); \
|
|
echo "Installation done"; \
|
|
else \
|
|
echo "***************************************"; \
|
|
@@ -103,7 +103,7 @@ manclean:
|
|
done
|
|
|
|
tests:
|
|
- @echo "Type \"make tests\" in $(SCIDIR)/tests directory "
|
|
+ @echo "Type \"$(MAKE) tests\" in $(SCIDIR)/tests directory "
|
|
@echo " to test the distribution"
|
|
|
|
distclean::
|
|
@@ -184,7 +184,7 @@ BINDISTFILES = \
|
|
tarbindist:
|
|
touch .binary
|
|
@STRIP@ bin/scilex
|
|
- cd examples; make distclean
|
|
+ cd examples; $(MAKE) distclean
|
|
cd .. ; tar cvf $(SCIBASE)/$(SCIBASE)-bin.tar $(BINDISTFILES) @PVMINST@
|
|
$(RM) .binary
|
|
|
|
@@ -263,14 +263,14 @@ DOCNAME=$(SCIBASE)
|
|
|
|
install:
|
|
@if test `pwd`/.. != $(PREFIX)/lib ; then \
|
|
- install -d $(PREFIX)/lib/$(SCIBASE); \
|
|
+ $(BSD_INSTALL_LIB_DIR) $(PREFIX)/lib/$(SCIBASE); \
|
|
( for file in $(INSTBINDISTFILES) @PVMINST1@; do tar cf - $${file} | (cd $(PREFIX)/lib/$(SCIBASE); tar xf -); done); \
|
|
- (cd $(PREFIX)/lib/$(SCIBASE);touch .binary; make postinstall PREFIX=$(PREFIX) ) \
|
|
+ (cd $(PREFIX)/lib/$(SCIBASE);touch .binary; $(MAKE) postinstall PREFIX=$(PREFIX) ) \
|
|
fi
|
|
- install -d $(PREFIX)/share/doc/$(DOCNAME)/
|
|
- install ACKNOWLEDGEMENTS CHANGES README_Unix Version.incl \
|
|
- licence.txt license.txt $(PREFIX)/share/doc/$(DOCNAME)
|
|
- install -d $(PREFIX)/bin
|
|
+ $(BSD_INSTALL_DATA_DIR) $(PREFIX)/share/doc/$(DOCNAME)/
|
|
+ for f in ACKNOWLEDGEMENTS CHANGES README_Unix Version.incl licence.txt license.txt ; do \
|
|
+ $(BSD_INSTALL_DATA) $$f $(PREFIX)/share/doc/$(DOCNAME) ; done
|
|
+ $(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/bin
|
|
$(RM) $(PREFIX)/bin/scilab
|
|
ln -fs $(PREFIX)/lib/$(SCIBASE)/bin/scilab $(PREFIX)/bin/scilab
|
|
$(RM) $(PREFIX)/bin/intersci
|
|
@@ -287,13 +287,13 @@ DESTDIR=$(PREFIX)/lib
|
|
postinstall:
|
|
@echo "creating Path.incl SCIDIR=$(DESTDIR)/$(SCIBASE)"
|
|
@echo "SCIDIR=$(DESTDIR)/$(SCIBASE)" > Path.incl
|
|
- @cd scripts; make
|
|
- @cd examples ; make distclean > /dev/null
|
|
+ @cd scripts; $(MAKE)
|
|
+ @cd examples ; $(MAKE) distclean > /dev/null
|
|
@cp contrib/loader.sce contrib-loader.sce
|
|
@$(RM) -f -r contrib
|
|
@mkdir contrib
|
|
@mv contrib-loader.sce contrib/loader.sce
|
|
- @find man -name "*.xml" -print0 | xargs -0 $(RM)
|
|
+ @find man -name "*.xml" -exec $(RM) {} \;
|
|
@@STRIP@ bin/scilex;
|
|
|
|
uninstall:
|