X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=dc5314bf0fac10be07391030f7d7270734184f54;hb=a0d343bfea40507c4575320fea70aacbbf09799d;hp=507503f0235a3eaf6596c25680d3bf84e00e4b00;hpb=3eb9c30ebea7269e9eae90bd9ab5e0a363478297;p=pspp-builds.git diff --git a/Makefile.am b/Makefile.am index 507503f0..dc5314bf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,11 @@ 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= @@ -42,6 +46,7 @@ DIST_HOOKS = INSTALL_DATA_HOOKS = UNINSTALL_DATA_HOOKS = PHONY = +SUFFIXES = .q generate-changelog: if test -d $(top_srcdir)/.git; then \ @@ -83,3 +88,6 @@ uninstall-hook: $(UNINSTALL_DATA_HOOKS) clean-local: $(CLEAN_LOCAL) all-local: $(ALL_LOCAL) + +# A convenience target to build all the binaries +programs: $(PROGRAMS)