aboutsummaryrefslogtreecommitdiffstats
path: root/doc/devel/calendar
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/devel/calendar
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/devel/calendar')
-rw-r--r--doc/devel/calendar/Makefile.am2
-rw-r--r--doc/devel/calendar/cal-client/Makefile.am20
-rw-r--r--doc/devel/calendar/cal-util/Makefile.am19
3 files changed, 16 insertions, 25 deletions
diff --git a/doc/devel/calendar/Makefile.am b/doc/devel/calendar/Makefile.am
index 207672f303..028622bd82 100644
--- a/doc/devel/calendar/Makefile.am
+++ b/doc/devel/calendar/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = cal-client cal-util
+SUBDIRS = cal-util cal-client
EXTRA_DIST = \
alarm-generation.sgml \
diff --git a/doc/devel/calendar/cal-client/Makefile.am b/doc/devel/calendar/cal-client/Makefile.am
index b9d707661e..7452ba35b5 100644
--- a/doc/devel/calendar/cal-client/Makefile.am
+++ b/doc/devel/calendar/cal-client/Makefile.am
@@ -45,6 +45,7 @@ extra_files =
# contains GtkObjects/GObjects and you want to document signals and properties.
GTKDOC_CFLAGS= \
-I$(top_srcdir)/calendar \
+ -I$(top_builddir)/calendar/cal-client \
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_builddir)/libical/src/libical \
@@ -183,17 +184,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
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