Ticket #20467: patch-spim_Makefile.diff
File patch-spim_Makefile.diff, 1.3 KB (added by mdippery@…, 15 years ago) |
---|
-
spim/Makefile
old new 51 51 # Path of directory that contains documentation: 52 52 DOC_DIR = ../Documentation 53 53 54 54 prefix = /usr/local 55 55 56 56 # Full path for the directory that will hold the executable files: 57 BIN_DIR = /usr/bin57 BIN_DIR = $(prefix)/bin 58 58 59 59 # Full path for the directory that will hold the exception handler: 60 EXCEPTION_DIR = /usr/lib/spim60 EXCEPTION_DIR = $(prefix)/share/spim 61 61 62 62 # Full path for the directory that will hold the man files: 63 MAN_DIR = /usr/share/man/en63 MAN_DIR = $(prefix)/share/man/man1 64 64 65 65 66 66 # If you have flex, use it instead of lex. If you use flex, define this … … 174 174 rm -f spim spim.exe *.o TAGS test.out lex.yy.c y.tab.c y.tab.h y.output 175 175 176 176 install: spim 177 install -D spim $(BIN_DIR)/spim 178 install -D -m 0444 $(CPU_DIR)/exceptions.s $(EXCEPTION_DIR)/exceptions.s 177 install -d $(DESTDIR)$(BIN_DIR) 178 install -m 0755 spim $(DESTDIR)$(BIN_DIR)/spim 179 install -d $(DESTDIR)$(EXCEPTION_DIR) 180 install -m 0644 $(CPU_DIR)/exceptions.s $(DESTDIR)$(EXCEPTION_DIR)/exceptions. 179 181 180 182 install-man: 181 install -D -m 0444 $(DOC_DIR)/spim.man $(MAN_DIR) 183 install -d $(DESTDIR)$(MAN_DIR) 184 install -m 0644 $(DOC_DIR)/spim.man $(DESTDIR)$(MAN_DIR)/spim.1 182 185 183 186 very-clean: clean 184 187 rm -f configuration