X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=perl-module%2Fautomake.mk;h=71d589f516b7053b074907d4b45fda762ffcc709;hb=5e7e6c8417aee2b983d1725101bf66fe5fea2aaa;hp=54ccd823ce1580181e71ec5cfccf91d8552a0be8;hpb=b96c526de9a5b0ee767e058cefc42fae9e9b0dc5;p=pspp-builds.git diff --git a/perl-module/automake.mk b/perl-module/automake.mk index 54ccd823..71d589f5 100644 --- a/perl-module/automake.mk +++ b/perl-module/automake.mk @@ -30,6 +30,12 @@ perl-module/pspp-module-config: Makefile 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) $@ + cd perl-module && $(MAKE) $(AM_MAKEFLAGS) tardist + +.PHONY: module-make module-make: perl-module/Makefile cd perl-module && $(MAKE) $(AM_MAKEFLAGS) @@ -48,8 +54,7 @@ all-local: perl-module/lib/pspp-vers.pl fi ; \ done \ fi - $(MAKE) $(AM_MAKEFLAGS) module-make - + $(MAKE) $(AM_MAKEFLAGS) module-make PSPP-Perl-$(VERSION).tar.gz check-local: loc=`pwd` ; cd $(top_builddir)/src/.libs ; llp=`pwd` ; cd $$loc ; \ @@ -65,6 +70,7 @@ clean-local: CLEANFILES += \ + perl-module/PSPP-Perl-$(VERSION).tar.gz \ perl-module/pspp-module-config \ perl-module/lib/pspp-vers.pl \ perl-module/const-c.inc \