[ 
https://issues.apache.org/jira/browse/TS-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885288#comment-13885288
 ] 

Igor Galić commented on TS-2539:
--------------------------------

I have a patch, I hope that's good enough:
{code}
diff --git lib/perl/Makefile.am lib/perl/Makefile.am
index 496f217..f2457c5 100644
--- lib/perl/Makefile.am
+++ lib/perl/Makefile.am
@@ -29,7 +29,7 @@ Makefile-pl: Makefile.PL
        $(PERL) Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
 
 distclean-local:
-       -rm -f Makefile-pl
+       -rm -rf Makefile-pl MYMETA.* blip
 
 #test: check
 
{code}

> Generated Perl files are not cleaned up
> ---------------------------------------
>
>                 Key: TS-2539
>                 URL: https://issues.apache.org/jira/browse/TS-2539
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Arno Toell
>
> Similar to TS-2532, also the generated files for the Perl bindings need to be 
> cleaned up when calling the make (dist)clean targets. The Makefile does not 
> cleanup these files:
> {code}
>  trafficserver/lib/perl/MYMETA.json
>  trafficserver/lib/perl/MYMETA.yml
>  trafficserver/lib/perl/blib/lib/Apache/TS.pm
>  trafficserver/lib/perl/blib/lib/Apache/TS/AdminClient.pm
>  trafficserver/lib/perl/blib/lib/Apache/TS/Config.pm
>  trafficserver/lib/perl/blib/lib/Apache/TS/Config/Records.pm
>  trafficserver/lib/perl/blib/man3/Apache::TS.3pm
>  trafficserver/lib/perl/blib/man3/Apache::TS::AdminClient.3pm
>  trafficserver/lib/perl/blib/man3/Apache::TS::Config::Records.3pm
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to