diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2005-05-17 20:27:43 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2005-05-17 20:27:43 +0000 |
commit | 6d1e9fa62f2745410b2a20394705747cf0ca7615 (patch) | |
tree | 8e6e6343f1f0f80a23fb058b069db1c7235c63aa /perl | |
parent | 62e74ab239876656cacd17629e8288783063bd86 (diff) | |
download | lasso-6d1e9fa62f2745410b2a20394705747cf0ca7615.tar.gz lasso-6d1e9fa62f2745410b2a20394705747cf0ca7615.tar.xz lasso-6d1e9fa62f2745410b2a20394705747cf0ca7615.zip |
perl now installs and uninstalls correctly (with thanks to p.g.o)
Diffstat (limited to 'perl')
-rw-r--r-- | perl/Makefile.am | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am index a4502325..b5660905 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -26,7 +26,7 @@ $(PERL_MAKEFILE): lasso.pm -perl install-perl: $(PERL_MAKEFILE) target=`echo $@ | sed -e 's/-perl//'`; \ - $(MAKE) -f $(PERL_MAKEFILE) DESTDIR=$(DESTDIR) $$target + $(MAKE) -f $(PERL_MAKEFILE) DESTDIR=$(DESTDIR) PREFIX=$(prefix) $$target test-perl: $(PERL_MAKEFILE) $(RUN)$(MAKE) -f $(PERL_MAKEFILE) test @@ -61,6 +61,11 @@ clean-local: # perl module installation disabled since broken wrt to make distcheck -install-fakeDATA: - @true +install-fakeDATA: install-perl + +uninstall-local: + find $(DESTDIR)$(prefix) -name lasso -type d | grep perl | xargs rm -rf + find $(DESTDIR)$(prefix) -name lasso.pm -exec rm -f {} \; + find $(DESTDIR)$(prefix) -name perllocal.pod -exec rm -f {} \; + true |