File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 33# Installation directories
44DESTDIR ?=
55PREFIX ?= /usr/local
6- BINIDIR := $( DESTDIR ) $(PREFIX ) /games
7- DATIDIR := $( DESTDIR ) $(PREFIX ) /share/games/harris
6+ BINIDIR ?= $(PREFIX ) /games
7+ DATIDIR ?= $(PREFIX ) /share/games/harris
88# User directories (relative to $HOME)
99USAVDIR := .local/share/harris
1010
@@ -24,13 +24,13 @@ SDLFLAGS := `sdl-config --cflags`
2424all : harris $(SAVES )
2525
2626install : all
27- install -d $(BINIDIR ) $(DATIDIR )
28- install harris $(BINIDIR ) /
29- ./install.py -d $(DATIDIR )
27+ install -d $(DESTDIR )$( BINIDIR ) $( DESTDIR ) $(DATIDIR )
28+ install harris $(DESTDIR )$( BINIDIR ) /
29+ ./install.py -d $(DESTDIR )$( DATIDIR )
3030
3131uninstall :
32- rm $(BINIDIR ) /harris
33- rm -r $(DATIDIR )
32+ rm $(DESTDIR )$( BINIDIR ) /harris
33+ rm -r $(DESTDIR )$( DATIDIR )
3434
3535clean :
3636 -rm harris harris.o $(OBJS ) $(SAVES )
You can’t perform that action at this time.
0 commit comments