mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
Update build system to find moved scripts -- Step 3 of 2:
- Update references from using PKGLIBDIR to PKGDATADIR. - Update built-in script search paths to reflect new install location: - $(pkgdatadir) => $(pktdatadir)/site - $(pkglibdir) => $(pktdatadir)/scripts - Update installed location of httpd files: - $(pkglibdir)/httpd => $(pkgdatadir)/httpd git-svn-id: svn://svn.berlios.de/openocd/trunk@1920 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/target \
|
||||
-I$(top_srcdir)/src/flash \
|
||||
-I$(top_srcdir)/src/jtag \
|
||||
-DPKGLIBDIR=\"$(pkglibdir)\"
|
||||
-DPKGDATADIR=\"$(pkgdatadir)\"
|
||||
|
||||
METASOURCES = AUTO
|
||||
noinst_LTLIBRARIES = libserver.la
|
||||
@@ -25,7 +25,12 @@ noinst_HEADERS += tcl_server.h
|
||||
libserver_la_SOURCES += tcl_server.c
|
||||
|
||||
if HTTPD
|
||||
nobase_dist_pkglib_DATA = $(wildcard $(srcdir)/httpd/*.tcl $(srcdir)/httpd/*.css $(srcdir)/httpd/menu_cuts/*.png)
|
||||
nobase_dist_pkgdata_DATA = \
|
||||
$(wildcard \
|
||||
$(srcdir)/httpd/*.tcl \
|
||||
$(srcdir)/httpd/*.css \
|
||||
$(srcdir)/httpd/menu_cuts/*.png \
|
||||
)
|
||||
endif
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
||||
@@ -393,7 +393,7 @@ static int ahc_echo(void * cls, struct MHD_Connection * connection,
|
||||
* being subverted to evil purposes
|
||||
*/
|
||||
|
||||
const char *httpd_dir=PKGLIBDIR "/httpd";
|
||||
const char *httpd_dir = PKGDATADIR "/httpd";
|
||||
|
||||
if (*url=='/')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user