OSDN Git Service

Ignore psqlrc file in make rules relying on psql.
authorJulien Rouhaud <julien.rouhaud@free.fr>
Tue, 9 Nov 2021 03:36:51 +0000 (11:36 +0800)
committerKyotaro Horiguchi <horikyota.ntt@gmail.com>
Thu, 25 Nov 2021 10:37:02 +0000 (19:37 +0900)
Makefile

index f80e12b..b40c426 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -56,10 +56,10 @@ rpm14: $(STARBALL14)
 testfiles: convert.out convert.sql
 
 convert.out: convert.sql
-       psql $(DBNAME) -a -q -f convert.sql > $@
+       psql $(DBNAME) -a -q -X -f convert.sql > $@
 
 convert.sql: makeplanfile.sql json2sql.pl
-       psql $(DBNAME) -f makeplanfile.sql |& ./json2sql.pl > $@
+       psql $(DBNAME) -X -f makeplanfile.sql |& ./json2sql.pl > $@
 
 clean-testfiles:
        rm -f convert.out convert.sql