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

Commit1eee8d4

Browse files
committed
Remove unwanted "garbage cleanup" logic in Makefiles.
GNUmakefile.in defined a macro "garbage" that seems to have been meantas a suitable target for automatic "rm -rf" treatment, but it isn'tactually used anywhere (and indeed never was, AFAICT).Moreover, we have concluded that the Makefiles shouldn't take it uponthemselves to remove files that aren't expected by-products of building,so that doing anything like that would be against project policy anyway.Hence, just remove the macro.Grepping around finds another violation of that policy in ecpg/preproc,so clean that up too.Daniel Gustafsson (ecpg change by me)Discussion:https://postgr.es/m/AFBEF63E-E19D-4EBB-9F08-4617CDC751ED@yesql.se
1 parent8e19a82 commit1eee8d4

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

‎GNUmakefile.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ GNUmakefile: GNUmakefile.in $(top_builddir)/config.status
7878

7979
distdir= postgresql-$(VERSION)
8080
dummy= =install=
81-
garbage = =* "#"* ."#"* *~* *.orig *.rej core postgresql-*
8281

8382
dist: $(distdir).tar.gz $(distdir).tar.bz2
8483
rm -rf $(distdir)

‎src/interfaces/ecpg/preproc/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ uninstall:
6464

6565
cleandistclean:
6666
rm -f*.o ecpg$(X)
67-
# garbage from development
68-
@rm -f core a.out
6967

7068
# `make distclean' must not remove preproc.y, preproc.c, preproc.h, or pgc.c
7169
# since we want to ship those files in the distribution for people with

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp