Correct the directory of the perl module tarball target
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 29 Jan 2009 23:23:29 +0000 (08:23 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 29 Jan 2009 23:23:29 +0000 (08:23 +0900)
perl-module/automake.mk

index 9619dfe0b109bf34c8da78c40809fdc27fbab95d..7fad5e425c3930ea4ba256cb4cf889ce4e452fbf 100644 (file)
@@ -31,8 +31,8 @@ perl-module/Makefile: perl-module/Makefile.PL perl-module/pspp-module-config
        cd perl-module && $(PERL) Makefile.PL PREFIX=$(prefix)
 
 
-PSPP-Perl-$(VERSION).tar.gz:
-       cd perl-module && $(RM) $@
+perl-module/PSPP-Perl-$(VERSION).tar.gz: $(module_sources)
+       $(RM) $@
        cd perl-module && $(MAKE) $(AM_MAKEFLAGS) tardist
 
 .PHONY: module-make
@@ -46,10 +46,11 @@ all-local:
          mkdir -p $$destdir ;\
          if test "$(top_srcdir)/$$f" -nt "$(top_builddir)/$$f" ; then \
                 cp $(top_srcdir)/$$f $$destdir ; \
+                echo cp $(top_srcdir)/$$f $$destdir ; \
          fi ; \
         done \
        fi
-       $(MAKE) $(AM_MAKEFLAGS) module-make PSPP-Perl-$(VERSION).tar.gz
+       $(MAKE) $(AM_MAKEFLAGS) module-make perl-module/PSPP-Perl-$(VERSION).tar.gz
 
 check-local:
        loc=`pwd` ; cd $(top_builddir)/src/.libs ; llp=`pwd` ; cd $$loc ;  \