]> git.meshlink.io Git - catta/blobdiff - Makefile.am
split off libavahi-gobject into its own directory
[catta] / Makefile.am
index 2071916d86cc9bb20467a1c73ed7a7431da2d54d..23888b27948cceeb887cfff8a64569236d111d4c 100644 (file)
@@ -42,22 +42,25 @@ EXTRA_DIST = \
        avahi-core.pc.in \
        avahi-client.pc.in \
        avahi-glib.pc.in \
+       avahi-gobject.pc.in \
        avahi-qt3.pc.in \
        avahi-qt4.pc.in \
        avahi-sharp.pc.in \
        avahi-ui-sharp.pc.in \
        avahi-compat-libdns_sd.pc.in \
        avahi-compat-howl.pc.in \
-       avahi-ui.pc.in
+       avahi-ui.pc.in \
+       doxygen_to_devhelp.xsl
 
 SUBDIRS = \
        common \
        avahi-common \
-       avahi-glib \
        avahi-core \
-       avahi-discover-standalone \
        avahi-qt \
        avahi-client \
+       avahi-glib \
+       avahi-gobject \
+       avahi-discover-standalone \
        avahi-daemon \
        avahi-sharp \
        initscript \
@@ -211,6 +214,18 @@ avahi-glib.pc: avahi-glib.pc.in
 
 CLEANFILES += avahi-glib.pc
 
+if HAVE_GOBJECT
+
+pkgconfig_DATA += avahi-gobject.pc
+
+avahi-gobject.pc: avahi-gobject.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@libdir\@,$(libdir),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+CLEANFILES += avahi-gobject.pc
+
+endif
 endif
 
 if HAVE_GTK
@@ -254,6 +269,11 @@ CLEANFILES += avahi-qt4.pc
 
 endif
 
+CLEANFILES += avahi.devhelp
+
+avahi.devhelp: doxygen-run
+       xsltproc -o $@ doxygen_to_devhelp.xsl doxygen/xml/index.xml
+
 MOSTLYCLEANFILES = $(DX_CLEANFILES)
 
 DISTCHECK_CONFIGURE_FLAGS = \