summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-11 13:34:14 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-11 13:34:14 +0000
commit470c43c6c61a9f90ffe7e5f2c476503e50eb0aca (patch)
treede71ce112dc8467b1bfec2b3b6afc9c5f9e0d4b0 /Makefile
parent1eb106f52759e9e3c305ea6bbc676af697e56821 (diff)
downloadmandoc-470c43c6c61a9f90ffe7e5f2c476503e50eb0aca.tar.gz
Added automatic ChangeLog generation with each snapshot.VERSION.1.7.14
Added ChangeLog to main page.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a321ea5f..f085166b 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ TEXTS = mandoc.1.txt mdoc.3.txt mdoc.7.txt manuals.7.txt \
mandoc_char.7.txt man.7.txt man.3.txt
BINS = mandoc
CLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \
- $(TARGZS) tags $(TEXTS)
+ $(TARGZS) tags $(TEXTS) ChangeLog
MAKEFILES = Makefile.netbsd Makefile.openbsd Makefile.freebsd \
Makefile
INSTALL = $(SRCS) $(HEADS) $(MAKEFILES) DESCR $(MANS) $(SGMLS) \
@@ -83,10 +83,11 @@ port: mdocml-oport-$(VERSION).tar.gz \
mdocml-fport-$(VERSION).tar.gz \
mdocml-nport-$(VERSION).tar.gz
-www: all $(HTMLS) $(TARGZS) $(TEXTS)
+www: all $(HTMLS) $(TARGZS) $(TEXTS) ChangeLog
installwww: www
install -m 0444 $(TEXTS) $(HTMLS) $(STATICS) $(PREFIX)/
+ install -m 0444 ChangeLog $(PREFIX)/snapshots/
install -m 0444 mdocml-$(VERSION).tar.gz $(PREFIX)/snapshots/
install -m 0444 mdocml-$(VERSION).tar.gz $(PREFIX)/snapshots/mdocml.tar.gz
install -m 0444 mdocml-oport-$(VERSION).tar.gz $(PREFIX)/ports-openbsd/
@@ -177,6 +178,9 @@ mdoc_action.o: mdoc_action.c libmdoc.h
libmdoc.h: mdoc.h
+ChangeLog:
+ cvs2cl -P -t --no-indent --FSF --no-times
+
mdocml-nport-$(VERSION).tar.gz: mdocml-$(VERSION).tar.gz Makefile.netbsd DESCR
mkdir -p .dist/mdocml/
sed -e "s!@VERSION@!$(VERSION)!" Makefile.netbsd > \