From 1a670d75d59364d77eadb809bdfbdd11847f7841 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Mon, 15 Jul 2002 04:52:30 +0000 Subject: - Fix in dist-hook: Rebuild ChangeLog only if working in CVS repository. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index d50b785..1fc6c75 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,7 +37,9 @@ install-data-local: dist-hook: $(MAKE) TMPDEST=$(distdir)/ kdoc specfile $(MAKE) -C $(distdir)/kde2 -f Makefile.am am_edit - conf/cvs2cl -W 1800 -S --no-wrap --prune --gmt -f $(distdir)/ChangeLog + test -f CVS/Root && conf/cvs2cl -W 1800 -S --no-wrap --prune \ + --gmt -f $(distdir)/ChangeLog || \ + cp -f ChangeLog $(distdir)/ChangeLog kdoc: kdoc -d $(TMPDEST)doc/api -n libplp --strip-h-path $(TMPDEST)lib/*.h -- cgit v1.2.3