From 562218e6ea1926723045713e52449c24c6ccff1f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 4 Jan 2007 11:57:07 +0100 Subject: build-sys: add missing files This patch add all missing headers, man pages and README files to automake stuff and "make dist-gzip" produces useful tarball now. Signed-off-by: Karel Zak --- Makefile.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5c3564e96..5f69f4488 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,9 @@ SUBDIRS = lib \ ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = config/include-Makefile.am \ - autogen.sh + autogen.sh \ + licenses/COPYING.GPL \ + licenses/COPYING.UCB distclean-local: -find . \( -name \*~ -o -name \*.orig -o -name \*.rej \) -exec rm -f {} \; @@ -31,3 +33,11 @@ mrproper: distclean cd po; rm -f `cat .gitignore`; cd .. cd config; rm -f `cat ../.gitignore`; cd .. +# The automake is very stupid for work with man pages. The files from man_MANS are +# not included to the distribution. A solution is use dist_man_MANS or +# EXTRA_DIST = $(man_MANS) -- but these solutions are ugly in case that there +# is a lot of "if ", because the result in EXTRA_DIST or dist_man_MANS +# depends on the condition ;-( +dist-hook: + -find -regex "\./[a-z\-]*/[a-z\.\-\_]*\.[1-9]" -exec cp {} $(distdir)/{} \; + -- cgit v1.2.3-55-g7522