]> git.meshlink.io Git - catta/blobdiff - Makefile.am
rename libdbus-watch-glue to libdbus-common
[catta] / Makefile.am
index 1ce7f76cec35926079bd2688ab63968eb7a47933..18640f0c9ca4b824d2ccc145e9ea5615581e653e 100644 (file)
@@ -31,11 +31,15 @@ EXTRA_DIST = \
        docs/DBUS-API \
        docs/AUTHORS \
        docs/HACKING \
-       docs/overview.dia
+       docs/overview.dia \
+       avahi-core.pc.in \
+       avahi-client.pc.in \
+       avahi-glib.pc.in
 
 SUBDIRS = \
        common \
        avahi-common \
+       avahi-glib \
        avahi-core \
        avahi-discover-standalone \
        avahi-client \
@@ -44,15 +48,49 @@ SUBDIRS = \
        avahi-dnsconfd \
        avahi-utils \
        examples \
-       man
+       man \
+       tests
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = avahi-core.pc
 
+avahi-core.pc: avahi-core.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+CLEANFILES = avahi-core.pc
+
+if HAVE_DBUS
+
+pkgconfig_DATA += avahi-client.pc
+
+avahi-client.pc: avahi-client.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+CLEANFILES += avahi-client.pc
+
+endif
+
+if HAVE_GLIB
+
+pkgconfig_DATA += avahi-glib.pc
+
+avahi-glib.pc: avahi-glib.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+CLEANFILES += avahi-glib.pc
+
+endif
+
 MOSTLYCLEANFILES = $(DX_CLEANFILES)
 
 homepage:
        scp avahi-daemon/*.introspect avahi-daemon/introspect.dtd avahi-daemon/introspect.xsl\
            man/*.xml man/xmltoman.dtd man/xmltoman.xsl \
            fdo:public_html/
-           
+       rm -rf doxygen
+       $(MAKE) doxygen-run
+       ssh fdo rm -rf public_html/doxygen
+       scp -r doxygen/html fdo:public_html/doxygen