summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2002-06-02 07:19:30 +0000
committerYves Duret <yduret@mandriva.com>2002-06-02 07:19:30 +0000
commit7b8f955132dbec3bf44f38ab73a3e30e7cbfed1a (patch)
tree86074d4f99b204e45d2bdba8422750fd8413709c /Makefile
parent49c8c7d90d6a7461e948ded18b4baa313322259b (diff)
downloadcontrol-center-7b8f955132dbec3bf44f38ab73a3e30e7cbfed1a.tar
control-center-7b8f955132dbec3bf44f38ab73a3e30e7cbfed1a.tar.gz
control-center-7b8f955132dbec3bf44f38ab73a3e30e7cbfed1a.tar.bz2
control-center-7b8f955132dbec3bf44f38ab73a3e30e7cbfed1a.tar.xz
control-center-7b8f955132dbec3bf44f38ab73a3e30e7cbfed1a.zip
DESTDIR for locales too
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e0f05556..0d3c8c9c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec)
NAME = drakconf
SUBDIRS = po pixmaps
-localedir = $(prefix)/usr/share/locale
+localedir = $(DESTDIR)/usr/share/locale
RPM=$(HOME)/rpm
mcc_dir = $(DESTDIR)/usr/share/mcc
@@ -35,8 +35,7 @@ dis: clean
mkdir -p $(NAME)-$(VERSION)
find . -not -name "$(NAME)-$(VERSION)"|cpio -pd $(NAME)-$(VERSION)/
find $(NAME)-$(VERSION) -type d -name CVS -o -name .cvsignore -o -name unused -name control-center.rc -o -name controlcenter.html |xargs rm -rf
- tar cf ../$(NAME)-$(VERSION).tar $(NAME)-$(VERSION)
- bzip2 -9f ../$(NAME)-$(VERSION).tar
+ tar cjf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)
rpm: dis