summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 9b4a4f3..41e4591 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,12 @@
ACLOCAL_AMFLAGS = -I config
+if BUILD_PGM
+SUBDIRS = foreign/openpgm src doc perf tests
+else
SUBDIRS = src doc perf tests
-DIST_SUBDIRS = src doc perf tests builds/msvc
+endif
+
+DIST_SUBDIRS = foreign/openpgm src doc perf tests builds/msvc
EXTRA_DIST = \
autogen.sh \
@@ -29,8 +34,8 @@ dist-hook:
fi
-cp $(top_srcdir)/builds/redhat/zeromq.spec $(distdir)/zeromq.spec
-sed s/\@PACKAGE_VERSION\@/@PACKAGE_VERSION@/ -i $(distdir)/zeromq.spec
- -rm -rf $(distdir)/foreign/openpgm/@pgm_basename@
+ -rm -rf $(distdir)/foreign/openpgm/build-staging
distclean-local:
- -rm -rf $(top_srcdir)/foreign/openpgm/@pgm_basename@
+ -rm -rf $(top_srcdir)/foreign/openpgm/build-staging
maintainer-clean-local:
-rm -rf $(top_srcdir)/config