Makefile: allow out of tree builds

use top_srcdir rather than top_builddir for AM_CPPFLAGS
add EXTRA_DIST to man Makefile. fixes distcheck target.

Change-Id: I308dc1c98f096de1efe188f63d040ef953598e78
This commit is contained in:
James Zern
2011-03-15 15:25:49 -07:00
parent 4c0da7aad5
commit e532b9abb1
8 changed files with 9 additions and 7 deletions

View File

@ -1 +1,2 @@
man_MANS = cwebp.1 dwebp.1
EXTRA_DIST = $(man_MANS)

View File

@ -188,6 +188,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
man_MANS = cwebp.1 dwebp.1
EXTRA_DIST = $(man_MANS)
all: all-am
.SUFFIXES: