From 4d72392c95a550311473981f226feb50d753c637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Oudot?= Date: Mon, 22 Nov 2010 13:36:16 +0000 Subject: [PATCH] Fix make cpan target --- build/lemonldap-ng/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/lemonldap-ng/Makefile b/build/lemonldap-ng/Makefile index ceff8cd67..35a8d40c3 100644 --- a/build/lemonldap-ng/Makefile +++ b/build/lemonldap-ng/Makefile @@ -7,6 +7,7 @@ PERL=$$(which perl) SU=su -c COMPRESS=tar czf UNCOMPRESS=tar xzf +LISTCOMPRESSED=tar tzf COMPRESSSUFFIX=tar.gz # Perl options #PERLOPTIONS="INSTALLDIRS=vendor" @@ -474,9 +475,9 @@ manifest: configure done cpan: clean configure common_cpan handler_cpan portal_cpan manager_cpan - @for i in Common Portal Handler Manager; do \ + for i in Common Portal Handler Manager; do \ $(UNCOMPRESS) Lemonldap-NG-$$i-*.$(COMPRESSSUFFIX) \ - $$($(COMPRESS) Lemonldap-NG-$$i-*.$(COMPRESSSUFFIX) |grep META.yml); \ + $$($(LISTCOMPRESSED) Lemonldap-NG-$$i-*.$(COMPRESSSUFFIX) |grep META.yml); \ mv Lemonldap-NG-$$i-*/META.yml lemonldap-ng-$$($(PERL) -e "print lc('$$i')")/; \ rm -rf Lemonldap-NG-$$i*/; \ done