diff -Nurd spim-7.4.ori/COPYING spim-7.4/COPYING --- spim-7.4.ori/COPYING 1969-12-31 21:00:00.000000000 -0300 +++ spim-7.4/COPYING 2009-04-08 07:18:25.000000000 -0300 @@ -0,0 +1,18 @@ +SPIM is copyrighted by James R. Larus and distributed under the +following conditions: + + You may make copies of SPIM for your own use and modify those copies. + + All copies of SPIM must retain my name and copyright notice. + + You may not sell SPIM or distribute SPIM in conjunction with a + commercial product or service without the expressed written consent of + James Larus. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +James Larus +Microsoft Research +(larus@microsoft.com) diff -Nurd spim-7.4.ori/spim/Makefile spim-7.4/spim/Makefile --- spim-7.4.ori/spim/Makefile 2009-01-23 01:51:11.000000000 -0200 +++ spim-7.4/spim/Makefile 2009-04-08 07:46:22.000000000 -0300 @@ -54,13 +54,10 @@ # Full path for the directory that will hold the executable files: -BIN_DIR = /usr/bin # Full path for the directory that will hold the exception handler: -EXCEPTION_DIR = /usr/lib/spim # Full path for the directory that will hold the man files: -MAN_DIR = /usr/share/man/en # If you have flex, use it instead of lex. If you use flex, define this @@ -174,11 +171,15 @@ rm -f spim spim.exe *.o TAGS test.out lex.yy.c y.tab.c y.tab.h y.output install: spim - install -D spim $(BIN_DIR)/spim - install -D -m 0444 $(CPU_DIR)/exceptions.s $(EXCEPTION_DIR)/exceptions.s + mkdir -p $(BIN_DIR) + mkdir -p $(EXCEPTION_DIR) + install spim $(BIN_DIR) + install -m 0444 $(CPU_DIR)/exceptions.s $(EXCEPTION_DIR) install-man: - install -D -m 0444 $(DOC_DIR)/spim.man $(MAN_DIR) + mv $(DOC_DIR)/spim.man $(DOC_DIR)/spim.1 + mkdir -p $(MAN_DIR) + install -m 0444 $(DOC_DIR)/spim.1 $(MAN_DIR) very-clean: clean rm -f configuration