diff --git a/libraries/libapparmor/swig/perl/Makefile.am b/libraries/libapparmor/swig/perl/Makefile.am index 6858d65c5..44fa2ed93 100644 --- a/libraries/libapparmor/swig/perl/Makefile.am +++ b/libraries/libapparmor/swig/perl/Makefile.am @@ -1,7 +1,8 @@ EXTRA_DIST =Makefile.PL libapparmor_wrap.c LibAppArmor.pm examples/*.pl -noinst_DATA =LibAppArmor.so if HAVE_PERL +noinst_DATA =LibAppArmor.so + libapparmor_wrap.c: $(srcdir)/../SWIG/libapparmor.i $(SWIG) -perl -I$(srcdir)/../../src -module LibAppArmor -o $@ $(srcdir)/../SWIG/libapparmor.i @@ -27,4 +28,4 @@ clean-local: #rm -f Makefile.perl Makefile.perl.old rm -f *.so # *.o -endif \ No newline at end of file +endif