Update INSTALL file
[pspp-builds.git] / Makefile.am
index f606cbf1123b5d8c8d8f468fd6fadb90dc1c2512..6fca4b1c29699b2bd77cb74fe4b416a7b0d9ac9e 100644 (file)
@@ -2,11 +2,15 @@
 
 AUTOMAKE_OPTIONS = gnits 1.10 subdir-objects
 
-SUBDIRS = gl po
+SUBDIRS = gl
 DISTCLEANFILES = ./po/stamp-po xconfigure 
 BUILT_SOURCES =
 
-AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl
+AM_CPPFLAGS = \
+       -I$(top_srcdir)/gl \
+       -I$(top_builddir)/gl \
+       -DINSTALLDIR=\"$(bindir)\" \
+       -DDOCDIR=\"$(docdir)\"
 
 AM_CFLAGS=
 
@@ -30,6 +34,8 @@ pkgsysconfdir = $(sysconfdir)/@PACKAGE@
 EXTRA_DIST = OChangeLog ONEWS config.rpath pspp-mode.el
 
 CLEANFILES = 
+CLEAN_LOCAL =
+ALL_LOCAL =
 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
 noinst_LIBRARIES=
 noinst_LTLIBRARIES=
@@ -52,6 +58,7 @@ generate-changelog:
 DIST_HOOKS += generate-changelog
 
 
+include $(top_srcdir)/po/automake.mk
 include $(top_srcdir)/lib/automake.mk
 include $(top_srcdir)/doc/automake.mk
 include $(top_srcdir)/config/automake.mk
@@ -78,5 +85,8 @@ install-data-hook: $(INSTALL_DATA_HOOKS)
 
 uninstall-hook: $(UNINSTALL_DATA_HOOKS)
 
+clean-local: $(CLEAN_LOCAL)
+all-local: $(ALL_LOCAL)
 
-
+# A convenience target to build all the binaries
+programs: $(PROGRAMS)