Makefile.am: fix automake 1.6 errors

When building with the ancient automake 1.6 version, the following
errors occur:

 Makefile.am:5: invalid variable `doc_DATA'
 doc/Makefile.am:2: invalid variable `doc_DATA'

This patches renames some internal variables.
This commit is contained in:
Max Kellermann 2008-10-16 15:00:02 +02:00
parent c0a9ef980f
commit b2839540d6
2 changed files with 5 additions and 5 deletions

View File

@ -2,8 +2,8 @@ ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign 1.6
SUBDIRS = src doc
doc_DATA = README UPGRADING
EXTRA_DIST = COPYING $(doc_DATA) m4 autogen.sh scripts .gitignore
docs = README UPGRADING
EXTRA_DIST = COPYING $(docs) m4 autogen.sh scripts .gitignore
sparse-check test:
$(MAKE) -C src $@

View File

@ -1,3 +1,3 @@
man_MANS = mpd.1 mpd.conf.5
doc_DATA = COMMANDS mpdconf.example
EXTRA_DIST = $(man_MANS) $(doc_DATA)
manpages = mpd.1 mpd.conf.5
docs = COMMANDS mpdconf.example
EXTRA_DIST = $(manpages) $(docs)