aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2001-07-31 05:52:10 +0000
committerFrederic Lepied <flepied@mandriva.com>2001-07-31 05:52:10 +0000
commit73f7c2886fe5b905cd4e2c72643eb48460291f6a (patch)
treedf52efb1cb6e9f1c3f1eaf26ef69028eb7022d87 /Makefile
parent8872a532d7b144d3e2cf655db6a1644f656033b0 (diff)
downloadcommon-data-73f7c2886fe5b905cd4e2c72643eb48460291f6a.tar
common-data-73f7c2886fe5b905cd4e2c72643eb48460291f6a.tar.gz
common-data-73f7c2886fe5b905cd4e2c72643eb48460291f6a.tar.bz2
common-data-73f7c2886fe5b905cd4e2c72643eb48460291f6a.tar.xz
common-data-73f7c2886fe5b905cd4e2c72643eb48460291f6a.zip
resync with 8.0-12mdk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile42
1 files changed, 10 insertions, 32 deletions
diff --git a/Makefile b/Makefile
index c4eebd9..8145a08 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
NAME = mandrake_desk
VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec)
mandir=/usr/share/man
-RPM = $(HOME)/RPM
all:
@echo "Run make install"
@@ -9,27 +8,11 @@ all:
clean:
find . -type d -name '.xvpics'|xargs rm -rf
-merge-translations:
- for i in `find kde gnome old special -name "*.in"` ; \
- do \
- case "$$i" in \
- *.links.desktop.in) \
- xml-i18n-merge -d po $$i \
- `dirname $$i`/`basename $$i .desktop.in` ;; \
- *.noext.kdelnk.in) \
- xml-i18n-merge -d po $$i \
- `dirname $$i`/`basename $$i .noext.kdelnk.in` ;; \
- *.in) \
- xml-i18n-merge -d po $$i \
- `dirname $$i`/`basename $$i .in` ;; \
- esac ; \
- done
-
-install: merge-translations
+install:
mkdir -p $(RPM_BUILD_ROOT)/usr/{s,}bin
mkdir -p $(RPM_BUILD_ROOT)/$(mandir)/man8/
mkdir -p $(RPM_BUILD_ROOT)/usr/lib/mc/
- mkdir -p $(RPM_BUILD_ROOT)/usr/share/{faces,icons,icons/large,icons/mini,pixmaps/backgrounds/mandrake}
+ mkdir -p $(RPM_BUILD_ROOT)/usr/share/{faces,icons,icons/large,icons/mini,pixmaps/backgrounds/linux-mandrake}
mkdir -p $(RPM_BUILD_ROOT)/etc/X11/
mkdir -p $(RPM_BUILD_ROOT)/usr/share/pixmaps/mdk
mkdir -p $(RPM_BUILD_ROOT)/etc/skel/Desktop
@@ -45,20 +28,17 @@ install: merge-translations
install -m644 icons/mini/*.xpm $(RPM_BUILD_ROOT)/usr/share/icons/mini
install -m644 icons/large/*.xpm $(RPM_BUILD_ROOT)/usr/share/icons/large
install -m644 backgrounds/* \
- $(RPM_BUILD_ROOT)/usr/share/pixmaps/backgrounds/mandrake/
- install -m644 default_background.jpg \
- $(RPM_BUILD_ROOT)/usr/share/pixmaps/backgrounds/
- install -m644 default_logo.jpg \
- $(RPM_BUILD_ROOT)/usr/share/icons/
+ $(RPM_BUILD_ROOT)/usr/share/pixmaps/backgrounds/linux-mandrake/
-# install -m644 kdelnk/*.kdelnk $(RPM_BUILD_ROOT)/etc/skel/Desktop/
install -m644 icons/mandrake*.xpm $(RPM_BUILD_ROOT)/usr/share/pixmaps/mdk/
- install -m755 gnome/mandrake.links.sh \
- $(RPM_BUILD_ROOT)/usr/lib/mc/desktop-scripts
- install -m644 gnome/mandrake.links \
- $(RPM_BUILD_ROOT)/usr/lib/desktop-links
+
install -m644 faces/* $(RPM_BUILD_ROOT)/usr/share/faces
+ install -m644 login/loging100.png $(RPM_BUILD_ROOT)/usr/share/pixmaps/mdk
+
+ mkdir -p $(RPM_BUILD_ROOT)/usr/lib/mc/desktop-scripts
+ cp gnome/mandrake.links.sh $(RPM_BUILD_ROOT)/usr/lib/mc/desktop-scripts/mandrake.links.sh
+ chmod 0755 $(RPM_BUILD_ROOT)/usr/lib/mc/desktop-scripts/mandrake.links.sh
dis:
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
@@ -71,10 +51,8 @@ dis:
rm -rf $(NAME)-$(VERSION)
rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
- cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES/
+ cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
cp -f special/mandrake-small.xpm $(RPM)/SOURCES/
- cp -f eazel-engine-0.3.tar.bz2 $(RPM)/SOURCES/
- cp -f gtkrc $(RPM)/SOURCES/
cp -f $(NAME).spec $(RPM)/SPECS/
-rpm -ba --clean --rmsource $(NAME).spec
rm -f ../$(NAME)-$(VERSION).tar.bz2