make clean removes excesively

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: make clean removes excesively
Date: 2019-07-10 05:51:18
Message-ID: 20190710.145118.67335181.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I found the following make's behavior is annoying (at dab81b9953).

make distclean
./configure ....
make all
<succeeds>
make -j4 clean all
relpath.c:21:10: fatal error: catalog/pg_tablespace_d.h: No such file or directory
#include "catalog/pg_tablespace_d.h"

(-j is needed, this happnes for me by -j2)

Just fixing the Makefile for it reveals the next complainer.

I'm not sure that it's the right thing but make got quiet by
moving include to the top in SUBDIRS in src/Makefile.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
0001-Make-src-include-first.patch text/x-patch 973 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2019-07-10 06:02:57 Re: FETCH FIRST clause PERCENT option
Previous Message Dilip Kumar 2019-07-10 05:43:26 Re: CVE-2017-7484-induced bugs, or, btree cmp functions are not leakproof?