updates.
[silc.git] / doc / Makefile.am.pre
index f007007664b3e61aa91430f7443ff93de34e95b3..aff1254bd1df64f9d02334364798d030fbcf294b 100644 (file)
@@ -18,7 +18,7 @@
 
 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
 
-COMMONDIRS =
+COMMONDIRS = .
 SUBDIRS = SILC_DISTRIBUTION_SUBDIRS
 DIST_SUBDIRS = SILC_DISTRIBUTION_SUBDIRS
 makerfc = ../scripts/makerfc
@@ -78,10 +78,14 @@ endif
 endif
 
 if SILC_DIST_TOOLKIT
-SILC_EXTRA_DIST = toolkit
+SILC_EXTRA_DIST = toolkit examples
+else
+if SILC_DIST_SERVER
+SILC_EXTRA_DIST = examples
 else
 SILC_EXTRA_DIST =
 endif
+endif
 
 EXTRA_DIST = \
        CodingStyle \