aboutsummaryrefslogtreecommitdiffstats
path: root/doc/C/Makefile.am
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-12 22:20:41 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-12 22:20:41 +0800
commita2b6de72927d6648e527560ebb9dbf284400b544 (patch)
tree28106225ed9ae5442c297784a17ceb2aeb4e2b5e /doc/C/Makefile.am
parent759186b97f9dcb4446494f6f2f3f680242e749a0 (diff)
downloadgsoc2013-evolution-a2b6de72927d6648e527560ebb9dbf284400b544.tar.gz
gsoc2013-evolution-a2b6de72927d6648e527560ebb9dbf284400b544.tar.zst
gsoc2013-evolution-a2b6de72927d6648e527560ebb9dbf284400b544.zip
Clean up make dist.
2001-07-10 Peter Williams <peterw@ximian.com> * */Makefile.am (dist-hook): Clean up make dist. svn path=/trunk/; revision=11039
Diffstat (limited to 'doc/C/Makefile.am')
-rw-r--r--doc/C/Makefile.am17
1 files changed, 13 insertions, 4 deletions
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