--- Makefile.orig Mon May 11 14:20:54 1998 +++ Makefile Sat Jul 18 23:03:49 1998 @@ -55,13 +55,13 @@ # tarfull: everthing, including .o's, etc. # getwin: copy MS-Windows source from /dosc # permissions: make sources readable to world +# install run as root to install in ${INSTALLDIR} (defined below) # installv: run as root to install to /usr/local/v -# installvlinux: run as root to install to /usr/local +# installvlinux: run as root to install to /usr/local (really to /usr) # installunm: install to ../pubv (UNM specific) # #=============================================================== - #xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # # composite targets and targets for builds in subdirs @@ -321,6 +321,25 @@ .PHONY: installLinuxElf installLinuxElf: $(MAKE) ARCH=linuxelf installVLinux + +.PHONY: install +install: + -mkdir -p $(INSTALLDIR)/include/v + -chmod 755 $(INSTALLDIR)/include/v + cp includex/v/* $(INSTALLDIR)/include/v + -chmod 644 $(INSTALLDIR)/include/v/* + + -mkdir -p $(INSTALLDIR)/lib + install -c -m 644 $(LibDir)/libV.a $(INSTALLDIR)/lib + $(RANLIB) $(INSTALLDIR)/lib/libV.a + + -mkdir -p $(INSTALLDIR)/bin + install -s -c -m 755 $(Bin)/b2v $(INSTALLDIR)/bin + install -s -c -m 755 $(Bin)/icondemo $(INSTALLDIR)/bin + install -s -c -m 755 $(Bin)/vdraw $(INSTALLDIR)/bin + install -s -c -m 755 $(Bin)/ved $(INSTALLDIR)/bin + install -s -c -m 755 $(Bin)/vgen $(INSTALLDIR)/bin + install -s -c -m 755 $(Bin)/viconed $(INSTALLDIR)/bin .PHONY: installv installv: