summaryrefslogtreecommitdiffstatshomepage
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
commit0d31fe8e373641961cf6174f5eda01fafe311ad3 (patch)
tree50f8253c5aef47526682418b17e88a30d9774615 /Makefile
parent6740b5259761c5b9863d14444ec9fd80f27ba672 (diff)
downloadmandoc-0d31fe8e373641961cf6174f5eda01fafe311ad3.tar.gz
mandoc-0d31fe8e373641961cf6174f5eda01fafe311ad3.tar.zst
mandoc-0d31fe8e373641961cf6174f5eda01fafe311ad3.zip
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 > \