summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-09 10:27:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-09 10:27:12 +0000
commite13949cd850b2c12d94c0b6ab717dd1574a611dd (patch)
tree185b7aa30b26ff450e69b0a0695842a5bbd6ceea /Makefile
parentabaff6b5ef5db28f0499b4ded4863e2ad8852a71 (diff)
downloadperl_checker-e13949cd850b2c12d94c0b6ab717dd1574a611dd.tar
perl_checker-e13949cd850b2c12d94c0b6ab717dd1574a611dd.tar.gz
perl_checker-e13949cd850b2c12d94c0b6ab717dd1574a611dd.tar.bz2
perl_checker-e13949cd850b2c12d94c0b6ab717dd1574a611dd.tar.xz
perl_checker-e13949cd850b2c12d94c0b6ab717dd1574a611dd.zip
adapt to vendorlib, cleanup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8fbd289..05253a1 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ TAR = $(NAME).tar.bz2
PREFIX = /usr
BINDIR = $(PREFIX)/bin
-INSTALLSITEARCH = $(shell eval "`perl -V:installsitelib`"; echo $$installsitelib | sed 's,/usr,$(PREFIX),')
+INSTALLVENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib | sed 's,/usr,$(PREFIX),')
GENERATED = MDK/Common.pm index.html
@@ -23,10 +23,10 @@ clean:
find -name "*~" | xargs rm -rf
install: clean all
- install -d $(BINDIR) $(INSTALLSITEARCH)/MDK/Common
+ install -d $(BINDIR) $(INSTALLVENDORLIB)/MDK/Common
install perl_checker $(BINDIR)
- install -m 644 MDK/Common.pm $(INSTALLSITEARCH)/MDK
- install -m 644 MDK/Common/*.pm $(INSTALLSITEARCH)/MDK/Common
+ install -m 644 MDK/Common.pm $(INSTALLVENDORLIB)/MDK
+ install -m 644 MDK/Common/*.pm $(INSTALLVENDORLIB)/MDK/Common
rpm: update tar build commit