diff options
| author | Tom Lane | 2015-04-24 21:13:06 +0000 |
|---|---|---|
| committer | Tom Lane | 2015-04-24 21:13:06 +0000 |
| commit | 732b33f8ae4ecc9d7a9f07fd4cb74a60a2a5e2c2 (patch) | |
| tree | b690776170bc9880a5db19c51093caca822edf89 /src/test/examples | |
| parent | 70d44dd9de2b781436ef1d55906614d241e02249 (diff) | |
Fix up .gitignore and cleanup actions in some src/test/ subdirectories.
examples/, locale/, and thread/ lacked .gitignore files and were also
not connected up to top-level "make clean" etc. This had escaped notice
because none of those directories are built in normal scenarios. Still,
they have working Makefiles, so if someone does a "make" in one of these
directories it would be good if (a) git doesn't bleat about the product
files and (b) cleaning up removes them.
This is a longstanding oversight, but since this behavior is probably
only of interest to developers, there seems no need for back-patching.
Michael Paquier and Tom Lane
Diffstat (limited to 'src/test/examples')
| -rw-r--r-- | src/test/examples/.gitignore | 6 | ||||
| -rw-r--r-- | src/test/examples/Makefile | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/test/examples/.gitignore b/src/test/examples/.gitignore new file mode 100644 index 00000000000..1957ec198f8 --- /dev/null +++ b/src/test/examples/.gitignore @@ -0,0 +1,6 @@ +/testlibpq +/testlibpq2 +/testlibpq3 +/testlibpq4 +/testlo +/testlo64 diff --git a/src/test/examples/Makefile b/src/test/examples/Makefile index aee5c044075..31da210a317 100644 --- a/src/test/examples/Makefile +++ b/src/test/examples/Makefile @@ -18,5 +18,5 @@ PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo testlo64 all: $(PROGS) -clean: - rm -f $(PROGS) +clean distclean maintainer-clean: + rm -f $(PROGS) *.o |
