Skip to content

Commit 7fca3f0

Browse files
committed
Cleanup to ensure good state of derived files in tarballs.
1 parent 8c1d09d commit 7fca3f0

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

src/backend/utils/.cvsignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fmgrtab.c
2+
fmgroids.h

src/backend/utils/Makefile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for utils
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/utils/Makefile,v 1.13 2000/06/07 16:26:48 petere Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/utils/Makefile,v 1.14 2000/06/09 02:38:36 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -27,7 +27,8 @@ endif
2727
SUBSYS.o: $(OBJS)
2828
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
2929

30-
.PHONY: submake clean dep
30+
.PHONY: submake clean dep depend
31+
3132
submake:
3233
for i in $(DIRS); do $(MAKE) -C $$i SUBSYS.o; done
3334

@@ -38,13 +39,18 @@ submake:
3839
# autoconf and autoheader.)
3940

4041
fmgroids.h fmgrtab.c: fmgrstamp-h
42+
4143
fmgrstamp-h: Gen_fmgrtab.sh $(SRCDIR)/include/catalog/pg_proc.h
4244
$(SHELL) $(SHOPTS) Gen_fmgrtab.sh $(SRCDIR)/include/catalog/pg_proc.h
43-
echo timestamp > fmgrstamp-h
45+
date > fmgrstamp-h
46+
47+
# don't clean fmgroids.h and fmgrtab.c, but do clean fmgrstamp-h
48+
# (we don't really want to put that much trust in timestamps in
49+
# distribution files and CVS pulls, so force at least one run of
50+
# Gen_fmgrtab.sh after a make clean)
4451

45-
# don't clean fmgroids.h and fmgrtab.c
4652
clean:
47-
rm -f SUBSYS.o fmgrtab.o
53+
rm -f SUBSYS.o fmgrtab.o fmgrstamp-h
4854
for i in $(DIRS); do $(MAKE) -C $$i clean; done
4955

5056
dep depend: fmgroids.h fmgrtab.c
@@ -53,4 +59,3 @@ dep depend: fmgroids.h fmgrtab.c
5359
ifeq (depend,$(wildcard depend))
5460
include depend
5561
endif
56-

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