diff options
author | Peter Williams <peterw@ximian.com> | 2001-07-12 22:20:41 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-07-12 22:20:41 +0800 |
commit | a2b6de72927d6648e527560ebb9dbf284400b544 (patch) | |
tree | 28106225ed9ae5442c297784a17ceb2aeb4e2b5e /doc/devel/Makefile.am | |
parent | 759186b97f9dcb4446494f6f2f3f680242e749a0 (diff) | |
download | gsoc2013-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/devel/Makefile.am')
-rw-r--r-- | doc/devel/Makefile.am | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/doc/devel/Makefile.am b/doc/devel/Makefile.am index daf73c2c4f..975c17d009 100644 --- a/doc/devel/Makefile.am +++ b/doc/devel/Makefile.am @@ -57,11 +57,14 @@ local_entities = \ # importer/sgml/evolution-importer.sgml \ # importer/sgml/evolution-importer-client.sgml -# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). -content_files = \ +installed_content_files = \ fdl.sgml \ preface.sgml \ - reference.sgml \ + reference.sgml + +# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). +content_files = \ + $(installed_content_files) \ $(local_entities) # Other files to distribute. @@ -87,10 +90,10 @@ HTML_DIR = $(datadir)/gnome/html TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) -EXTRA_DIST = \ - $(content_files) \ - $(extra_files) \ - $(HTML_IMAGES) \ +EXTRA_DIST = \ + $(extra_files) \ + $(installed_content_files) \ + $(HTML_IMAGES) \ $(DOC_MAIN_SGML_FILE) # $(DOC_MODULE).types \ @@ -156,8 +159,13 @@ endif dist-hook: dist-check-gtkdoc dist-hook-local mkdir $(distdir)/html - -cp $(srcdir)/html/index.sgml $(distdir)/html - -cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html + test -f $(srcdir)/html/index.sgml && cp $(srcdir)/html/index.sgml $(distdir)/html + files=`echo $(srcdir)/html/*.html` ; \ + test '$(srcdir)/html/*.html' = "$$files" \ + || cp $$files $(distdir)/html + files=`echo $(srcdir)/html/*.css` ; \ + test '$(srcdir)/html/*.css' = "$$files" \ + || cp $$files $(distdir)/html images=$(HTML_IMAGES) ; \ for i in $$images ; do \ cp $(srcdir)/$$i $(distdir)/html ; \ |