(distribute): Add .c.texi files, chapters & chapters-incl, stamp-summary,
authorroland <roland>
Mon, 18 Jan 1993 23:01:22 +0000 (23:01 +0000)
committerroland <roland>
Mon, 18 Jan 1993 23:01:22 +0000 (23:01 +0000)
and texinfo index files.
(tar-it): New variable for canned tar command.
(manual.tar): Use it.
(mandist.tar): New target, make tar of $(distribute).

manual/Makefile

index 86c382d..899ccea 100644 (file)
@@ -66,10 +66,16 @@ minimal-dist = library.texinfo summary.awk Makefile move-if-change  \
               $(chapters)                                              \
               $(patsubst %.c.texi,examples/%.c,                        \
                          $(filter-out summary.texinfo,$(chapters-incl)))
-distribute = $(minimal-dist) texinfo.tex summary.texinfo stamp-summary
+distribute = $(minimal-dist)                                           \
+            $(patsubst examples/%.c,%.c.texi,$(filter examples/%.c,    \
+                       $(minimal-dist)))                               \
+            library.?? library.??s texinfo.tex summary.texinfo         \
+            stamp-summary chapters chapters-incl
 
-manual.tar: $(minimal-dist)
-       tar uhvf $@ $^
+tar-it = tar chvf $@ $^
+
+manual.tar: $(minimal-dist) ; $(tar-it)
+mandist.tar: $(distribute) ; $(tar-it)
 
 %.Z: %
        compress -c $< > $@.new