Fix make cpan target
This commit is contained in:
parent
5023c3d684
commit
4d72392c95
|
@ -7,6 +7,7 @@ PERL=$$(which perl)
|
||||||
SU=su -c
|
SU=su -c
|
||||||
COMPRESS=tar czf
|
COMPRESS=tar czf
|
||||||
UNCOMPRESS=tar xzf
|
UNCOMPRESS=tar xzf
|
||||||
|
LISTCOMPRESSED=tar tzf
|
||||||
COMPRESSSUFFIX=tar.gz
|
COMPRESSSUFFIX=tar.gz
|
||||||
# Perl options
|
# Perl options
|
||||||
#PERLOPTIONS="INSTALLDIRS=vendor"
|
#PERLOPTIONS="INSTALLDIRS=vendor"
|
||||||
|
@ -474,9 +475,9 @@ manifest: configure
|
||||||
done
|
done
|
||||||
|
|
||||||
cpan: clean configure common_cpan handler_cpan portal_cpan manager_cpan
|
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) \
|
$(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')")/; \
|
mv Lemonldap-NG-$$i-*/META.yml lemonldap-ng-$$($(PERL) -e "print lc('$$i')")/; \
|
||||||
rm -rf Lemonldap-NG-$$i*/; \
|
rm -rf Lemonldap-NG-$$i*/; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user