Commit 3f7a5183 authored by Tom Lane's avatar Tom Lane

Remove unnecessary use of temp file. Tim Bunce

parent 2d7f136f
# Makefile for PL/Perl # Makefile for PL/Perl
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.40 2010/01/09 15:25:41 adunstan Exp $ # $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.41 2010/01/10 18:10:03 tgl Exp $
subdir = src/pl/plperl subdir = src/pl/plperl
top_builddir = ../../.. top_builddir = ../../..
...@@ -57,8 +57,7 @@ include $(top_srcdir)/src/Makefile.shlib ...@@ -57,8 +57,7 @@ include $(top_srcdir)/src/Makefile.shlib
plperl.o: perlchunks.h plperl.o: perlchunks.h
perlchunks.h: $(PERLCHUNKS) perlchunks.h: $(PERLCHUNKS)
$(PERL) $(srcdir)/text2macro.pl --strip='^(\#.*|\s*)$$' $^ > perlchunks.htmp $(PERL) $(srcdir)/text2macro.pl --strip='^(\#.*|\s*)$$' $^ > $@
mv perlchunks.htmp perlchunks.h
all: all-lib all: all-lib
...@@ -79,7 +78,7 @@ submake: ...@@ -79,7 +78,7 @@ submake:
$(MAKE) -C $(top_builddir)/src/test/regress pg_regress$(X) $(MAKE) -C $(top_builddir)/src/test/regress pg_regress$(X)
clean distclean maintainer-clean: clean-lib clean distclean maintainer-clean: clean-lib
rm -f SPI.c $(OBJS) perlchunks.htmp perlchunks.h rm -f SPI.c $(OBJS) perlchunks.h
rm -rf results rm -rf results
rm -f regression.diffs regression.out rm -f regression.diffs regression.out
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment