]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Actually do install the .def file on Windows
authorTor Lillqvist <tml@iki.fi>
Wed, 21 Oct 2009 23:03:07 +0000 (02:03 +0300)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 1 Dec 2009 08:20:35 +0000 (09:20 +0100)
dbus/Makefile.am

index 4346de73baf5bdb14aac658ad917ca7b18e07478..db90b87ebef22ced53e359932abcf7468db1e432 100644 (file)
@@ -26,6 +26,7 @@ no_undefined = -no-undefined
 export_symbols = -export-symbols $(srcdir)/dbus-1.def
 
 install-def-file:
+       test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
        $(INSTALL) dbus-1.def $(DESTDIR)$(libdir)/dbus-1.def
 
 uninstall-def-file:
@@ -233,7 +234,7 @@ libdbus_convenience_la_SOURCES=                     \
 
 
 BUILT_SOURCES=$(dbusarchinclude_HEADERS)
-EXTRA_DIST=dbus-arch-deps.h.in
+EXTRA_DIST=dbus-arch-deps.h.in dbus-1.def
 
 ## this library is the same as libdbus, but exports all the symbols
 ## and is only used for static linking within the dbus package.
@@ -264,6 +265,10 @@ dbus_test_SOURCES=                         \
 dbus_test_LDADD=libdbus-convenience.la $(DBUS_TEST_LIBS)
 dbus_test_LDFLAGS=@R_DYNAMIC_LDFLAG@
 
+install-data-local: install-def-file
+
+uninstall-local: uninstall-def-file
+
 ## mop up the gcov files
 clean-local:
        /bin/rm *.bb *.bbg *.da *.gcov .libs/*.da .libs/*.bbg || true