summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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