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
This commit is contained in:
Pierre Ossman 2006-01-05 13:14:21 +00:00
parent 1f11ee3c8b
commit e8c71ed4c6
2 changed files with 11 additions and 4 deletions

View file

@ -17,11 +17,11 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA. # 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 SUBDIRS=libltdl polyp doc
MAINTAINERCLEANFILES=README MAINTAINERCLEANFILES =
noinst_DATA = README noinst_DATA =
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = polyplib.pc polyplib-simple.pc polyplib-error.pc polyplib-mainloop.pc polyplib-browse.pc 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 polyplib-glib12-mainloop.pc
endif endif
if USE_LYNX
EXTRA_DIST += README
MAINTAINERCLEANFILES += README
noinst_DATA += README
README: README:
rm -f README rm -f README
$(MAKE) -C doc README $(MAKE) -C doc README
cd $(srcdir) && ln -s doc/README README cd $(srcdir) && ln -s doc/README README
endif
homepage: all dist doxygen homepage: all dist doxygen
test -d $$HOME/homepage/private test -d $$HOME/homepage/private

View file

@ -16,7 +16,7 @@
# along with polypaudio; if not, write to the Free Software Foundation, # along with polypaudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. # 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 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 MAINTAINERCLEANFILES = README.html cli.html modules.html daemon.html FAQ.html
@ -26,6 +26,7 @@ if USE_LYNX
README: README.html README: README.html
lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' > $@ lynx --dump $^ | sed 's,file://localhost/.*/doc/README.html,README,' > $@
noinst_DATA += README
CLEANFILES += README CLEANFILES += README
endif endif