summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-28 14:55:54 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-28 14:55:54 +0000
commitdbf3eedfa26354380361a88d095dab7f02ec0cae (patch)
tree828e1621de418606805e36818ecf6a0985dbed14 /Makefile
parentd6b0646f8490f48b2bf8d0cb2c3a0d46de74dec7 (diff)
downloadcontrol-center-dbf3eedfa26354380361a88d095dab7f02ec0cae.tar
control-center-dbf3eedfa26354380361a88d095dab7f02ec0cae.tar.gz
control-center-dbf3eedfa26354380361a88d095dab7f02ec0cae.tar.bz2
control-center-dbf3eedfa26354380361a88d095dab7f02ec0cae.tar.xz
control-center-dbf3eedfa26354380361a88d095dab7f02ec0cae.zip
package new perl module
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f908f78b..81bf9a7e 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ NAME = drakconf
SUBDIRS = po pixmaps #data
localedir = $(DESTDIR)/usr/share/locale
mcc_dir = $(DESTDIR)/usr/share/mcc
+PERL_VENDORLIB=$(DESTDIR)/$(shell perl -V:installvendorlib | perl -pi -e "s/.*=//; s/[;']//g")
override CFLAGS += -DPACKAGE=\"$(NAME)\" -DLOCALEDIR=\"$(localedir)\"
@@ -31,6 +32,8 @@ install: all
install -m755 drakconsole $(DESTDIR)/usr/sbin/
install -m755 mdkwebadmin.pl $(DESTDIR)/usr/bin/
for d in $(SUBDIRS); do ( cd $$d ; make $@ ) ; done
+ mkdir -p $(PERL_VENDORLIB)/MDV/
+ install -m 644 lib/MDV/*.pm $(PERL_VENDORLIB)/MDV/
dis: clean
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*