summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-01-05 13:14:21 +0000
committerPierre Ossman <ossman@cendio.se>2006-01-05 13:14:21 +0000
commite8c71ed4c63a7ef123c122161b6a7cc3eafe7c85 (patch)
tree7948291e3df4355681b3bb51e22689a1666c389c
parent1f11ee3c8b392a68685875478637ce875de85da2 (diff)
Since README is generated conditionally we must make sure there are no
dependencies on it when it's not built. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@363 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--Makefile.am12
-rw-r--r--doc/Makefile.am3
2 files changed, 11 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index a6a012af..2cf93c75 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,11 +17,11 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
-EXTRA_DIST = bootstrap.sh README LICENSE doxygen/Makefile.am doxygen/Makefile.in doxygen/doxygen.conf.in libtool.m4 ltdl.m4
+EXTRA_DIST = bootstrap.sh LICENSE doxygen/Makefile.am doxygen/Makefile.in doxygen/doxygen.conf.in libtool.m4 ltdl.m4
SUBDIRS=libltdl polyp doc
-MAINTAINERCLEANFILES=README
-noinst_DATA = README
+MAINTAINERCLEANFILES =
+noinst_DATA =
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = polyplib.pc polyplib-simple.pc polyplib-error.pc polyplib-mainloop.pc polyplib-browse.pc
@@ -36,10 +36,16 @@ pkgconfig_DATA += \
polyplib-glib12-mainloop.pc
endif
+if USE_LYNX
+EXTRA_DIST += README
+MAINTAINERCLEANFILES += README
+noinst_DATA += README
+
README:
rm -f README
$(MAKE) -C doc README
cd $(srcdir) && ln -s doc/README README
+endif
homepage: all dist doxygen
test -d $$HOME/homepage/private
diff --git a/doc/Makefile.am b/doc/Makefile.am
index fff06551..c68c00f5 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -16,7 +16,7 @@
# along with polypaudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
-noinst_DATA = README.html cli.html modules.html daemon.html README
+noinst_DATA = README.html cli.html modules.html daemon.html
EXTRA_DIST = $(noinst_DATA) style.css README.html.in cli.html.in modules.html.in daemon.html.in todo FAQ.html.in
MAINTAINERCLEANFILES = README.html cli.html modules.html daemon.html FAQ.html
@@ -26,6 +26,7 @@ if USE_LYNX
README: README.html
lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' > $@
+noinst_DATA += README
CLEANFILES += README
endif