]> git.meshlink.io Git - catta/blobdiff - Makefile.am
* Remove the right compat .pc files in clean
[catta] / Makefile.am
index 42ad2ec50dd51280c8e15196c8aabe687e3c0fe4..d12a23c4aebd923c3f13a5edac82f94be7a24f6a 100644 (file)
@@ -59,7 +59,9 @@ SUBDIRS = \
        examples \
        man \
        tests \
-       service-type-database
+       service-type-database \
+       avahi-compat-libdns_sd \
+       avahi-compat-howl
 
 
 DX_INPUT = \
@@ -103,13 +105,21 @@ CLEANFILES = avahi-core.pc
 
 if HAVE_DBUS
 
-pkgconfig_DATA += avahi-client.pc
+pkgconfig_DATA += avahi-client.pc avahi-compat-libdns_sd.pc  avahi-compat-howl.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
+avahi-compat-libdns_sd.pc: avahi-compat-libdns_sd.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+avahi-compat-howl.pc: avahi-compat-howl.pc.in
+       sed -e 's,@prefix\@,$(prefix),g' \
+           -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+
+CLEANFILES += avahi-client.pc avahi-compat-libdns_sd.pc avahi-compat-howl.pc
 
 endif
 
@@ -165,7 +175,7 @@ endif
 MOSTLYCLEANFILES = $(DX_CLEANFILES)
 
 DISTCHECK_CONFIGURE_FLAGS = \
-       --disable-mono-docs
+       --disable-monodoc
 
 homepage:
        $(MAKE) -C man