diff --git a/Rules.make.standalone b/Rules.make.standalone index 30b449b..f428261 100644 --- a/Rules.make.standalone +++ b/Rules.make.standalone @@ -6,6 +6,7 @@ STEADPATH=./stead THEMESPATH=./themes GAMESPATH=./games ICONPATH=./icon +DOCPATH= LUA_CFLAGS=$(shell pkg-config --cflags lua5.1) LUA_LFLAGS=$(shell pkg-config --libs lua5.1) diff --git a/Rules.make.system b/Rules.make.system index a0cc8de..c449db4 100644 --- a/Rules.make.system +++ b/Rules.make.system @@ -7,6 +7,7 @@ STEADPATH=$(DESTDIR)$(PREFIX)/share/stead THEMESPATH=$(STEADPATH)/themes GAMESPATH=$(STEADPATH)/games ICONPATH=$(DESTDIR)$(PREFIX)/share/pixmaps +DOCPATH=$(DESTDIR)$(PREFIX)/share/doc/instead LUA_CFLAGS=$(shell pkg-config --cflags lua5.1) LUA_LFLAGS=$(shell pkg-config --libs lua5.1) diff --git a/doc/Makefile b/doc/Makefile index b93b0fc..8bbdc26 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -2,6 +2,5 @@ include ../Rules.make clean: all: install: - install -d -m0755 $(DESTDIR)$(PREFIX)/share/doc/instead - install -m0644 *.jpg *.html *.txt $(DESTDIR)$(PREFIX)/share/doc/instead - + install -d -m0755 $(DOCPATH) + install -m0644 *.png *.html *.txt $(DOCPATH)