diff options
Diffstat (limited to 'Build/source/utils/vlna/Makefile.am')
-rw-r--r-- | Build/source/utils/vlna/Makefile.am | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Build/source/utils/vlna/Makefile.am b/Build/source/utils/vlna/Makefile.am index 3511292221a..c9fd807c90d 100644 --- a/Build/source/utils/vlna/Makefile.am +++ b/Build/source/utils/vlna/Makefile.am @@ -5,38 +5,38 @@ ## ACLOCAL_AMFLAGS = -I ../../m4 -AM_CFLAGS = $(WARNING_CFLAGS) - -bin_PROGRAMS = vlna -dist_man1_MANS = vlna.man +## We want to re-distribute the whole original vlna source tree. +EXTRA_DIST = $(VLNA_TREE) +## Patches applied to the original source tree +EXTRA_DIST += $(VLNA_TREE)-PATCHES -CWEB_SRC = vlna.w -CSMAC = csmac.tex -CWEB_TEX = vlna.tex vlna.idx vlna.scn -CWEB_DVI = vlna.dvi +# in case of an SVN repository +dist-hook: + rm -rf `find $(distdir) -name .svn` -DOCS = README README.en vlna.txt vlna-cz.man +AM_CFLAGS = $(WARNING_CFLAGS) -EXTRA_DIST = $(CWEB_SRC) $(CSMAC) $(CWEB_TEX) $(CWEB_DVI) $(DOCS) +bin_PROGRAMS = vlna +man1_MANS = $(VLNA_TREE)/vlna.man CLEANFILES = vlna.log vlna.toc vlna.dvi: vlna.tex vlna.idx vlna.scn - TEXINPUTS=.:$(srcdir):$$TEXINPUTS $(CSPLAIN) vlna.tex + TEXINPUTS=.:$(srcdir)/$(VLNA_TREE):$$TEXINPUTS $(CSPLAIN) vlna.tex # Running cweave in order to create vlna.tex generates in addition # vlna.idx and vlna.scn; we must rerun cweave when they are not # up to date (even if vlna.tex is up to date). Thus the sub-make. # -vlna.tex vlna.idx vlna.scn: vlna.w +vlna.tex vlna.idx vlna.scn: $(VLNA_TREE)/vlna.w $(MAKE) $(AM_MAKEFLAGS) do-cweave -do-cweave: vlna.w .FORCE +do-cweave: $(VLNA_TREE)/vlna.w .FORCE $(CWEAVE) $< .PHONY: do-cweave .FORCE if do_cweb all-local: vlna.dvi -vlna.c: vlna.w +vlna.c: $(VLNA_TREE)/vlna.w $(CTANGLE) $< else !do_cweb all-local: |