File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ REFDOCDIR= $(top_srcdir)/doc/src/sgml/ref
21
21
override CPPFLAGS := -I. -I$(srcdir ) -I$(libpq_srcdir ) $(CPPFLAGS )
22
22
override LDFLAGS := -L$(top_builddir ) /src/fe_utils -lpgfeutils $(libpq_pgport ) $(LDFLAGS )
23
23
24
+ # We need product name in the enviroment of create_help.pl
25
+ export PRODUCT_NAME
24
26
OBJS = command.o common.o conditional.o copy.o crosstabview.o \
25
27
describe.o help.o input.o large_obj.o mainloop.o \
26
28
prompt.o psqlscanslash.o sql_help.o startup.o stringutils.o \
Original file line number Diff line number Diff line change 100
100
open (my $fh , ' <' , " $docdir /$file " ) or next ;
101
101
my $filecontent = join (' ' , <$fh >);
102
102
close $fh ;
103
+ # Substitute &productname; entity
104
+ $filecontent =~ s /\& productname;/ $ENV {PRODUCT_NAME}/ gs ;
103
105
104
106
# Ignore files that are not for SQL language statements
105
107
$filecontent =~
You can’t perform that action at this time.
0 commit comments