diff options
| author | Gordon Sim <gsim@apache.org> | 2009-03-17 09:20:44 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2009-03-17 09:20:44 +0000 |
| commit | dd00f839f41d4bd2d82ce1ac9e8da74309125cee (patch) | |
| tree | 8fc4384fde399591065b30cdc8ae3fd153fd29bf /cpp/examples/Makefile.am | |
| parent | 2bfe48b0409677dcaabaf4a9311e9c7d3fd010eb (diff) | |
| download | qpid-python-dd00f839f41d4bd2d82ce1ac9e8da74309125cee.tar.gz | |
QPID-1740: Update Makefile generation for examples to not use the undocumented Echo variable no longer supported in later autotools (from Jan Sarenik)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@755162 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/Makefile.am')
| -rw-r--r-- | cpp/examples/Makefile.am | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/cpp/examples/Makefile.am b/cpp/examples/Makefile.am index 255c86a7be..ea93adca54 100644 --- a/cpp/examples/Makefile.am +++ b/cpp/examples/Makefile.am @@ -27,18 +27,17 @@ if !HAVE_XML endif MAKEDIST=.libs/Makefile -SUBMAKE=' for d in $(SUBDIRS) ; do $$(MAKE) -C $$$$d $$@ ; done' + $(MAKEDIST): Makefile mkdir -p .libs - @$(ECHO) all: > $(MAKEDIST) - @$(ECHO) $(SUBMAKE) >> $(MAKEDIST) - @$(ECHO) clean: >> $(MAKEDIST) - @$(ECHO) $(SUBMAKE) >> $(MAKEDIST) + @(echo 'all clean:' ; \ + echo ' for d in $$(SUBDIRS) ; do $$(MAKE) -C $$$$d $$@ ; done' ; \ + ) > $(MAKEDIST) examplesdir=$(pkgdatadir)/examples -examples_DATA = README $(MAKEDIST) +dist_examples_DATA = README $(MAKEDIST) -EXTRA_DIST = $(examples_DATA) README.verify verify verify_all +EXTRA_DIST = README.verify verify verify_all # For older versions of automake abs_top_srcdir = @abs_top_srcdir@ |
