Tom Lane escribió:

> # Have to hack makefile to put correct path into tutorial scripts
> sed "s|C=\`pwd\`;|C=%{_libdir}/pgsql/tutorial;|" < src/tutorial/Makefile > 
> src/tutorial/GNUmakefile
> make %{?_smp_mflags} -C src/tutorial NO_PGXS=1 all
> rm -f src/tutorial/GNUmakefile
> 
> install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
> cp src/tutorial/* $RPM_BUILD_ROOT%{_libdir}/pgsql/tutorial
> 
> It looks to me like the unmodified Makefile builds the .sql files
> on the assumption they will be used *in the source tree*.  So basically
> no installer could use that as-is anyway.

Sounds like something that should be fixed upstream, if someone is
sufficiently interested.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to