DISTDIR = @PACKAGE@-@VERSION@
-EXTRA_DIST = BUGS LICENSE aclocal.m4 debian/
+EXTRA_DIST = BUGS LICENSE aclocal.m4 debian/ gdome2-xslt.pc.in gdome2-xslt-cpp-smart.pc.in
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gdome2-xslt.pc gdome2-xslt-cpp-smart.pc
## SUBDIRS = C C++ test_files
SUBDIRS = C C++ ocaml test_files
-bin_SCRIPTS = gdome_xslt_cpp_smart-config
-
deb: dist
if [ -d $(DISTDIR)/ ]; then rm -rf $(DISTDIR); else true; fi
tar xvzf $(DISTDIR).tar.gz