summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index fbdf5d0f4..fd6821dd0 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -24,8 +24,12 @@ data_rep_TEXINFOS = data-rep.texi version.texi
EXAMPLE_SMOB_FILES = \
ChangeLog Makefile README COPYING image-type.c image-type.h myguile.c
+OLDFMT = oldfmt.c
+
dist-hook:
mkdir $(distdir)/example-smob
- (dest="`cd $(distdir)/example-smob; pwd`"; \
- cd $(srcdir)/example-smob; \
+ (cd $(srcdir); \
+ cp $(OLDFMT) $(distdir); \
+ dest="`cd $(distdir)/example-smob; pwd`"; \
+ cd example-smob; \
cp $(EXAMPLE_SMOB_FILES) $$dest)