summaryrefslogtreecommitdiff
path: root/src/perl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/Makefile.am')
-rw-r--r--src/perl/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am
index 89fc3263..1c837e28 100644
--- a/src/perl/Makefile.am
+++ b/src/perl/Makefile.am
@@ -150,7 +150,11 @@ install-exec-local:
done
clean-generic:
- for dir in $(perl_dirs); do rm -f $$dir/Makefile; done
+ for dir in $(perl_dirs); do \
+ cd $$dir; \
+ $(MAKE) clean; \
+ cd ..; \
+ done
distclean-generic:
for dir in $(perl_dirs); do \