aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 270116c..b89662c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
NAME = mandrake_desk
VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec)
+mandir=/usr/share/man
all:
@echo "Run make install"
@@ -9,7 +10,7 @@ clean:
install:
mkdir -p $(RPM_BUILD_ROOT)/usr/{s,}bin
- mkdir -p $(RPM_BUILD_ROOT)/usr/man/man8/
+ mkdir -p $(RPM_BUILD_ROOT)/$(mandir)/man8/
mkdir -p $(RPM_BUILD_ROOT)/usr/lib/mc/
mkdir -p $(RPM_BUILD_ROOT)/usr/share/{icons,icons/large,icons/mini,pixmaps/backgrounds/mandrake}
mkdir -p $(RPM_BUILD_ROOT)/etc/X11/
@@ -19,7 +20,7 @@ install:
mkdir -p $(RPM_BUILD_ROOT)/usr/lib/desktop-links
mkdir -p $(RPM_BUILD_ROOT)/usr/share/gnome/apps/Internet
mkdir -p $(RPM_BUILD_ROOT)/usr/share/gnome/apps/System
- install -m644 man/*8 $(RPM_BUILD_ROOT)/usr/man/man8/
+ install -m644 man/*8 $(RPM_BUILD_ROOT)/$(mandir)/man8/
install -m755 sbin/* $(RPM_BUILD_ROOT)/usr/sbin/
install -m755 bin/* $(RPM_BUILD_ROOT)/usr/bin/
install -m644 icons/*.xpm $(RPM_BUILD_ROOT)/usr/share/icons/