Drop drive letter from path to razor root when RAZOR_ROOT set.
If the RAZOR_ROOT environment variable was set to eg., /root then on
Microsoft Windows we were trying to use paths such as /rootC:/Programs
which is obviously wrong. Instead we should drop the drive letter
giving paths of the form /root/Programs. Note that the drive letter is
_not_ migrated to C:/root/Programs: If a root of C:/root was desired
then RAZOR_ROOT would have been set to C:/root.
1 ## Process this file with automake to produce Makefile.in
8 -I$(top_builddir)/gl -I$(top_srcdir)/gl \
9 -I$(top_builddir)/src -I$(top_srcdir)/src \
10 -I$(top_srcdir)/librazor \
11 -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\" \
12 -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
13 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
14 -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
15 -DPACKAGE_LOCALSTATEDIR=\""$(localstatedir)"\" \
16 -DPACKAGE_LOCALE_DIR=\""$(localedir)"\"
20 check_PROGRAMS = test-driver
22 razor_SOURCES = main.c import-yum.c
24 razor_SOURCES += import-rpmdb.c
26 razor_LDADD = $(top_builddir)/librazor/librazor.la $(RPM_LIBS) $(EXPAT_LIBS) $(CURL_LIBS) $(LUA_LIBS) $(top_builddir)/gl/libgnu.la $(INTLLIBS) $(EXTRA_LIBS)
29 rpm_LDADD = $(top_builddir)/librazor/librazor.la $(LUA_LIBS) $(EXTRA_LIBS)
31 test_driver_SOURCES = test-driver.c
32 test_driver_LDADD = $(top_builddir)/librazor/librazor.la $(EXPAT_LIBS) $(EXTRA_LIBS)
35 XFAIL_TESTS = test-driver