Some of the latest changes to Makefile.am files are missing.
This patch restores the LOCALEDIR variable, among others,
and dispenses with the include directives in the ps/ and top/
subdirectories since they're no longer needed.
-AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include
+AM_CPPFLAGS = \
+ -include $(top_builddir)/config.h \
+ -I$(top_srcdir)/include \
+ -DLOCALEDIR=\"$(localedir)\"
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = \
PACKAGE_VERSION = @PACKAGE_VERSION@
-AM_CPPFLAGS = -include $(top_builddir)/config.h
+AM_CPPFLAGS = \
+ -include $(top_builddir)/config.h \
+ -I$(top_srcdir)/include \
+ -DLOCALEDIR=\"$(localedir)\"
LIBprocps_CURRENT=0
LIBprocps_REVISION=0
-AM_CPPFLAGS = -include $(top_builddir)/config.h
+AM_CPPFLAGS = \
+ -include $(top_builddir)/config.h \
+ -I$(top_srcdir)/include \
+ -DLOCALEDIR=\"$(localedir)\"
-AM_CFLAGS = -I../proc -I../include
AM_LDFLAGS = ../proc/libprocps.la
dist_man_MANS = ps.1
-AM_CPPFLAGS = -include $(top_builddir)/config.h
+AM_CPPFLAGS = \
+ -include $(top_builddir)/config.h \
+ -I$(top_srcdir)/include \
+ -DLOCALEDIR=\"$(localedir)\"
-AM_CFLAGS = -I../proc -I../include
AM_LDFLAGS = ../proc/libprocps.la
if WITH_NCURSES