From 67a7224e8a5ae02e78a11cd2c6d454202f6c4ead Mon Sep 17 00:00:00 2001
From: "p.kosyh"
Date: Mon, 31 Aug 2009 04:52:45 +0000
Subject: [PATCH] =Makefiles
---
Rules.make.standalone | 1 +
Rules.make.system | 1 +
doc/Makefile | 5 ++---
3 files changed, 4 insertions(+), 3 deletions(-)
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)