diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-13 03:01:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-13 03:01:12 +0000 |
commit | 58e6677933d504c98dcc3ebf10009dc767a73a37 (patch) | |
tree | d4b5a4866e4d8b2874d165f4d7e096328e6326e1 /Makefile | |
parent | c927e68bfd5e070d666642de786a971b9f0330e9 (diff) | |
download | perl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.tar perl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.tar.gz perl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.tar.bz2 perl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.tar.xz perl_checker-58e6677933d504c98dcc3ebf10009dc767a73a37.zip |
- use DESTDIR
- add perl_checker-vim
- add Ctrl-return in perl and cperl emacs mode
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -5,7 +5,7 @@ RPM ?= $(HOME)/rpm PREFIX = /usr BINDIR = $(PREFIX)/bin VENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib) -INSTALLVENDORLIB = $(shell echo $(VENDORLIB) | sed 's,/usr,$(PREFIX),') +INSTALLVENDORLIB = $(DESTDIR)$(VENDORLIB) PERL_CHECKER_TARGET = native-code GENERATED = MDK/Common.pm index.html perl_checker.src/perl_checker @@ -34,8 +34,9 @@ clean: find -name "*~" | xargs rm -rf install: clean all - install -d $(BINDIR) $(INSTALLVENDORLIB)/MDK/Common - install perl_checker.src/perl_checker $(BINDIR) + install -d $(DESTDIR)$(BINDIR) $(INSTALLVENDORLIB)/MDK/Common + $(MAKE) -C misc install + install perl_checker.src/perl_checker $(DESTDIR)$(BINDIR) install -m 644 MDK/Common.pm $(INSTALLVENDORLIB)/MDK install -m 644 MDK/Common/*.pm $(INSTALLVENDORLIB)/MDK/Common tar c `find perl_checker_fake_packages -name "*.pm"` | tar xC $(INSTALLVENDORLIB) |