X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=perl-module%2Fautomake.mk;h=819df652dc7d9bff07cf8696b7dd022463291f6c;hb=295c32309586d3e353d6bd28c748baad9354349a;hp=d329080dd3cc184090f37b5fd4b25219e7ec606e;hpb=161df84f01bd630fb20878a3802d7eebf58c67b9;p=pspp-builds.git diff --git a/perl-module/automake.mk b/perl-module/automake.mk index d329080d..819df652 100644 --- a/perl-module/automake.mk +++ b/perl-module/automake.mk @@ -16,14 +16,12 @@ module_sources = \ perl-module/t/Pspp.t perl-module/pspp-module-config: Makefile - target=`mktemp`;\ - echo '%Locations = (' > $$target ;\ - printf " SourceDir => '" >> $$target ;\ - (cd $(top_srcdir) && echo `pwd`\', ) >> $$target ;\ - printf " BuildDir => '" >> $$target ;\ - (cd $(top_builddir) && echo `pwd`\' ) >> $$target ;\ - echo ');' >> $$target ;\ - cp $$target $(top_builddir)/perl-module/pspp-module-config + (echo '%Locations = (';\ + printf " SourceDir => '";\ + (cd $(top_srcdir) && echo `pwd`\', ) ;\ + printf " BuildDir => '";\ + (cd $(top_builddir) && echo `pwd`\' );\ + echo ');') > $(top_builddir)/perl-module/pspp-module-config perl-module/Makefile: perl-module/Makefile.PL perl-module/pspp-module-config cd perl-module && $(PERL) Makefile.PL PREFIX=$(prefix)