From 7b8f955132dbec3bf44f38ab73a3e30e7cbfed1a Mon Sep 17 00:00:00 2001 From: Yves Duret Date: Sun, 2 Jun 2002 07:19:30 +0000 Subject: DESTDIR for locales too --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.1