aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-07-15 04:52:30 +0000
committerFritz Elfert <felfert@to.com>2002-07-15 04:52:30 +0000
commit1a670d75d59364d77eadb809bdfbdd11847f7841 (patch)
tree2fec8c8fcecbed262fdb953d69b7ffab590d01e3 /Makefile.am
parent744e0f1593923edd0e6a6a75c0eb19c2943cfade (diff)
downloadplptools-1a670d75d59364d77eadb809bdfbdd11847f7841.tar.gz
plptools-1a670d75d59364d77eadb809bdfbdd11847f7841.tar.bz2
plptools-1a670d75d59364d77eadb809bdfbdd11847f7841.zip
- Fix in dist-hook: Rebuild ChangeLog only if working in CVS repository.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
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