diff options
Diffstat (limited to 'doc/devel/calendar/cal-util')
-rw-r--r-- | doc/devel/calendar/cal-util/Makefile.am | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/doc/devel/calendar/cal-util/Makefile.am b/doc/devel/calendar/cal-util/Makefile.am index b7c75c5e5a..fa5effcb31 100644 --- a/doc/devel/calendar/cal-util/Makefile.am +++ b/doc/devel/calendar/cal-util/Makefile.am @@ -185,17 +185,12 @@ endif dist-hook: dist-check-gtkdoc dist-hook-local mkdir $(distdir)/tmpl - mkdir $(distdir)/html - -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl - -cp $(srcdir)/sgml/*.sgml $(distdir)/sgml - -cp $(srcdir)/html/index.sgml $(distdir)/html - -cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html - images=$(HTML_IMAGES) ; \ - for i in $$images ; do \ - cp $(srcdir)/$$i $(distdir)/html ; \ - done - -# Done automatically by automake in doc/devel -# mkdir $(distdir)/sgml + mkdir $(distdir)/sgml + files=`echo $(srcdir)/tmpl/*.sgml` ; \ + test '$(srcdir)/tmpl/*.sgml' = "$$files" \ + || cp $$files $(distdir)/tmpl + files=`echo $(srcdir)/sgml/*.sgml` ; \ + test '$(srcdir)/sgml/*.sgml' = "$$files" \ + || cp $$files $(distdir)/sgml .PHONY : dist-hook-local
\ No newline at end of file |