Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbb7c0da

Browse files
committed
Clean up build procedure: do not keep raw lex/yacc files around,
only the edited ones.
1 parente8f9b6b commitbb7c0da

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

‎src/pl/plpgsql/src/Makefile.in

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the plpgsql shared object
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.14 1999/02/07 22:10:47 tgl Exp $
7+
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.15 1999/03/20 18:00:38 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -60,25 +60,25 @@ pl_funcs.o:pl_funcs.c plpgsql.h pl.tab.h
6060
pl_parse.o:pl_gram.c pl_scan.c plpgsql.h
6161
$(CC)$(CFLAGS) -c -o$@ pl_gram.c
6262

63-
pl_gram.c:gram.c
64-
sed -e's/yy/plpgsql_yy/g' -e's/YY/PLPGSQL_YY/g'<gram.c>pl_gram.c
63+
pl_gram.cpl.tab.h:gram.y
64+
$(YACC)$(YFLAGS)$<
65+
sed -e's/yy/plpgsql_yy/g' -e's/YY/PLPGSQL_YY/g'<y.tab.c>pl_gram.c
6566
sed -e's/yy/plpgsql_yy/g' -e's/YY/PLPGSQL_YY/g'<y.tab.h>pl.tab.h
67+
rm -f y.tab.c y.tab.h
6668

67-
pl_scan.c:scan.c
68-
sed -e's/yy/plpgsql_yy/g' -e's/YY/PLPGSQL_YY/g'<scan.c>pl_scan.c
69-
70-
gram.c:gram.y
71-
72-
scan.c:scan.l
73-
74-
pl.tab.h:pl_gram.c
69+
pl_scan.c:scan.l
70+
$(LEX)$<
71+
sed -e's/yy/plpgsql_yy/g' -e's/YY/PLPGSQL_YY/g'<lex.yy.c>pl_scan.c
72+
rm -f lex.yy.c
7573

7674

7775
.PHONY: install clean
7876

7977
clean:
8078
rm -f lib$(NAME).a$(shlib)
8179
rm -f*.o pl.tab.h pl_gram.c pl_scan.c
80+
# And the garbage that might have been left behind by partial build:
81+
rm -f y.tab.c y.tab.h lex.yy.c
8282
ifeq ($(PORTNAME), win)
8383
rm -f $(NAME).def
8484
endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp