Remove nitfol.info from SCM, it's a generated file
[rodin/chimara.git] / Makefile.am
index 4a87cfd403a210164f2f9b089d7529970976acb8..ac4be011f7d1daf9d58aede98d8b51618f51cdb9 100644 (file)
@@ -1,10 +1,10 @@
 ## Process this file with automake to produce Makefile.in
 ## Created by Anjuta
 
-SUBDIRS = src po docs
+SUBDIRS = libchimara interpreters tests docs po
 
 chimaradocdir = ${prefix}/doc/chimara
-chimaradoc_DATA = \
+dist_chimaradoc_DATA = \
        README\
        COPYING\
        AUTHORS\
@@ -12,17 +12,15 @@ chimaradoc_DATA = \
        INSTALL\
        NEWS
 
-EXTRA_DIST = $(chimaradoc_DATA) \
-       intltool-extract.in intltool-merge.in intltool-update.in
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = chimara.pc chimara-plugin.pc
 
-# Copy all the spec files. Of cource, only one is actually used.
-dist-hook:
-       for specfile in *.spec; do \
-               if test -f $$specfile; then \
-                       cp -p $$specfile $(distdir); \
-               fi \
-       done
+EXTRA_DIST = intltool-extract.in intltool-merge.in intltool-update.in \
+       chimara.pc.in chimara-plugin.pc.in
 
-DISTCLEANFILES = intltool-extract intltool-merge intltool-update
+DISTCLEANFILES = chimara.pc chimara-plugin.pc \
+                                intltool-extract intltool-merge intltool-update
+
+ACLOCAL_AMFLAGS = -I m4
 
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc