aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>2000-07-22 19:28:43 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>2000-07-22 19:28:43 +0000
commit38c72b990ad5dd479180d495358a92ea8aaebff8 (patch)
tree8723d8b63b17e928c2c73a3fd3512fd2f2cfb906 /Makefile
parent8ee103f2d6f398050ee2e9430ca7523a769ff081 (diff)
downloadcommon-data-38c72b990ad5dd479180d495358a92ea8aaebff8.tar
common-data-38c72b990ad5dd479180d495358a92ea8aaebff8.tar.gz
common-data-38c72b990ad5dd479180d495358a92ea8aaebff8.tar.bz2
common-data-38c72b990ad5dd479180d495358a92ea8aaebff8.tar.xz
common-data-38c72b990ad5dd479180d495358a92ea8aaebff8.zip
BM.
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/