Skip to content

Commit 3f7a518

Browse files
committed
Remove unnecessary use of temp file. Tim Bunce
1 parent 2d7f136 commit 3f7a518

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/pl/plperl/GNUmakefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Makefile for PL/Perl
2-
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.40 2010/01/09 15:25:41 adunstan Exp $
2+
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.41 2010/01/10 18:10:03 tgl Exp $
33

44
subdir = src/pl/plperl
55
top_builddir = ../../..
@@ -57,8 +57,7 @@ include $(top_srcdir)/src/Makefile.shlib
5757
plperl.o: perlchunks.h
5858

5959
perlchunks.h: $(PERLCHUNKS)
60-
$(PERL) $(srcdir)/text2macro.pl --strip='^(\#.*|\s*)$$' $^ > perlchunks.htmp
61-
mv perlchunks.htmp perlchunks.h
60+
$(PERL) $(srcdir)/text2macro.pl --strip='^(\#.*|\s*)$$' $^ > $@
6261

6362
all: all-lib
6463

@@ -79,7 +78,7 @@ submake:
7978
$(MAKE) -C $(top_builddir)/src/test/regress pg_regress$(X)
8079

8180
clean distclean maintainer-clean: clean-lib
82-
rm -f SPI.c $(OBJS) perlchunks.htmp perlchunks.h
81+
rm -f SPI.c $(OBJS) perlchunks.h
8382
rm -rf results
8483
rm -f regression.diffs regression.out
8584

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy