summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-31 15:25:54 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-31 15:25:54 +0200
commitd52fbf1fd052d46932bbcafe0d43c63eb5cbfd99 (patch)
tree5f36962e6d64be042f7b4fc2fb65d50be524723b
parenta44018d49813a2d0e28604e3e66627311a1805f1 (diff)
Makefile / config.mk: Fix doc_dir. Now make uninstall won't purge all your docs. Whoops >_>
-rw-r--r--Makefile8
-rw-r--r--config.mk2
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 8b8a00e..419a33f 100644
--- a/Makefile
+++ b/Makefile
@@ -17,10 +17,10 @@ install-man:
install-doc:
@echo installing docs to ${doc_dir}
- @mkdir -p ${doc_dir}/feh
- @cp AUTHORS ChangeLog README TODO ${doc_dir}/feh
- @chmod 644 ${doc_dir}/feh/AUTHORS ${doc_dir}/feh/ChangeLog \
- ${doc_dir}/feh/README ${doc_dir}/feh/TODO
+ @mkdir -p ${doc_dir}
+ @cp AUTHORS ChangeLog README TODO ${doc_dir}
+ @chmod 644 ${doc_dir}/AUTHORS ${doc_dir}/ChangeLog \
+ ${doc_dir}/README ${doc_dir}/TODO
install-bin:
@echo installing executables to ${bin_dir}
diff --git a/config.mk b/config.mk
index 07c95be..499280e 100644
--- a/config.mk
+++ b/config.mk
@@ -8,7 +8,7 @@ PREFIX ?= /usr/local
main_dir = ${DESTDIR}${PREFIX}
man_dir = ${main_dir}/share/man
bin_dir = ${main_dir}/bin
-doc_dir = ${main_dir}/share/doc
+doc_dir = ${main_dir}/share/doc/feh
image_dir = ${main_dir}/share/feh/images
font_dir = ${main_dir}/share/feh/fonts