ui: Fix for GTK+ 3.8 deprecations
[platform/upstream/gcr.git] / Makefile.decl
index 4eaaa42..999e209 100644 (file)
@@ -15,16 +15,6 @@ perform-memcheck: $(TEST_PROGS)
                        $(builddir)/$$test $(TEST_ARGS) || exit 3; \
        done
 
-coverage:
-       mkdir -p $(top_builddir)/build/coverage
-       $(LCOV) --directory . --capture --output-file $(top_builddir)/build/coverage.info
-       $(GENHTML) --output-directory $(top_builddir)/build/coverage $(top_builddir)/build/coverage.info
-       $(LCOV) --directory . --zerocounters
-       @echo "file://$(abs_top_builddir)/build/coverage/index.html"
-
-clear-coverage:
-       $(LCOV) --directory . --zerocounters
-
 V_ASN1 = $(V_ASN1_$(V))
 V_ASN1_ = $(V_ASN1_$(AM_DEFAULT_VERBOSITY))
 V_ASN1_0 = @echo "  ASN1  " $@;
@@ -32,4 +22,35 @@ V_ASN1_0 = @echo "  ASN1  " $@;
 .asn.asn.h:
        $(V_ASN1) $(ASN1PARSER) -o $@ $< && sed -i 's|#include.*|/* \0 */|' $@
 
-SUFFIXES = .asn .asn.h
+V_SED = $(V_SED_$(V))
+V_SED_ = $(V_SED_$(AM_DEFAULT_VERBOSITY))
+V_SED_0 = @echo "  SED  " $@;
+
+SED_SUBST = sed \
+       -e 's,[@]datadir[@],$(datadir),g' \
+       -e 's,[@]libexecdir[@],$(libexecdir),g' \
+       -e 's,[@]libdir[@],$(libdir),g' \
+       -e 's,[@]includedir[@],$(includedir),g' \
+       -e 's,[@]datarootdir[@],$(datarootdir),g' \
+       -e 's,[@]sysconfdir[@],$(sysconfdir),g' \
+       -e 's,[@]bindir[@],$(bindir),g' \
+       -e 's,[@]exec_prefix[@],$(exec_prefix),g' \
+       -e 's,[@]prefix[@],$(prefix),g' \
+       -e 's,[@]PACKAGE[@],$(PACKAGE),g' \
+       -e 's,[@]VERSION[@],$(VERSION),g' \
+       $(NULL)
+
+.desktop.in.in.desktop.in:
+       $(V_SED) $(SED_SUBST) $< > $@
+
+@INTLTOOL_DESKTOP_RULE@
+
+.service.in.service:
+       $(V_SED) $(SED_SUBST) $< > $@
+
+pkgconfigdir = $(libdir)/pkgconfig
+
+ENUM_TEMPLATE_C = $(top_srcdir)/build/enum-template.c
+ENUM_TEMPLATE_H = $(top_srcdir)/build/enum-template.h
+
+SUFFIXES = .asn .asn.h .desktop.in .desktop.in.in .service .service.in