From a2b6de72927d6648e527560ebb9dbf284400b544 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 12 Jul 2001 14:20:41 +0000 Subject: Clean up make dist. 2001-07-10 Peter Williams * */Makefile.am (dist-hook): Clean up make dist. svn path=/trunk/; revision=11039 --- doc/C/Makefile.am | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'doc/C') diff --git a/doc/C/Makefile.am b/doc/C/Makefile.am index 67b44d27b3..10a265a9c7 100644 --- a/doc/C/Makefile.am +++ b/doc/C/Makefile.am @@ -31,12 +31,21 @@ evolution-faq: $(FAQ_SGML_FILES) -db2html $(srcdir)/evolution-faq.sgml dist-hook: - mkdir $(distdir)/evolution - -cp evolution/*.html evolution/*.css $(distdir)/evolution mkdir $(distdir)/fig - -cp fig/*.png $(distdir)/fig + mkdir $(distdir)/evolution mkdir $(distdir)/evolution/stylesheet-images - -cp evolution/stylesheet-images/* $(distdir)/evolution/stylesheet-images + files=`echo $(srcdir)/evolution/*.html` ; \ + test '$(srcdir)/evolution/*.html' = "$$files" \ + || cp $$files $(distdir)/evolution + files=`echo $(srcdir)/evolution/*.css` ; \ + test '$(srcdir)/evolution/*.css' = "$$files" \ + || cp $$files $(distdir)/evolution + files=`echo $(srcdir)/fig/*.png` ; \ + test '$(srcdir)/fig/*.png' = "$$files" \ + || cp $$files $(distdir)/evolution + files=`echo $(srcdir)/evolution/stylesheet-images/*` ; \ + test '$(srcdir)/evolution/stylesheet-images/*' = "$$files" \ + || cp $$files $(distdir)/evolution # FIXME really messy here install-data-local: evolution-guide evolution-faq -- cgit v1.2.3