version 1.167, 2009/04/03 13:18:26 |
version 1.170, 2009/04/06 08:53:39 |
|
|
.SUFFIXES: .html .sgml |
.SUFFIXES: .html .sgml .1.txt .3.txt .7.txt .1 .3 .7 |
|
|
BINDIR = $(PREFIX)/bin |
BINDIR = $(PREFIX)/bin |
INCLUDEDIR = $(PREFIX)/include |
INCLUDEDIR = $(PREFIX)/include |
Line 9 INSTALL_DATA = install -m 0444 |
|
Line 9 INSTALL_DATA = install -m 0444 |
|
INSTALL_LIB = install -m 0644 |
INSTALL_LIB = install -m 0644 |
INSTALL_MAN = $(INSTALL_DATA) |
INSTALL_MAN = $(INSTALL_DATA) |
|
|
VERSION = 1.7.9 |
VERSION = 1.7.11 |
VDATE = 03 April 2009 |
VDATE = 06 April 2009 |
|
|
VFLAGS = -DVERSION=\"$(VERSION)\" |
VFLAGS = -DVERSION=\"$(VERSION)\" |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g |
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g |
Line 55 TARGZS = mdocml-$(VERSION).tar.gz \ |
|
Line 55 TARGZS = mdocml-$(VERSION).tar.gz \ |
|
mdocml-oport-$(VERSION).tar.gz \ |
mdocml-oport-$(VERSION).tar.gz \ |
mdocml-fport-$(VERSION).tar.gz \ |
mdocml-fport-$(VERSION).tar.gz \ |
mdocml-nport-$(VERSION).tar.gz |
mdocml-nport-$(VERSION).tar.gz |
MANS = mandoc.1 mdoc.3 mdoc.7 manuals.7 |
MANS = mandoc.1 mdoc.3 mdoc.7 manuals.7 mandoc_char.7 \ |
|
man.7 man.3 |
|
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 |
BINS = mandoc |
CLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) $(TARGZS) \ |
CLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \ |
tags |
$(TARGZS) tags $(TEXTS) |
MAKEFILES = Makefile.netbsd Makefile.openbsd Makefile.freebsd \ |
MAKEFILES = Makefile.netbsd Makefile.openbsd Makefile.freebsd \ |
Makefile |
Makefile |
INSTALL = $(SRCS) $(HEADS) $(MAKEFILES) DESCR $(MANS) $(SGMLS) \ |
INSTALL = $(SRCS) $(HEADS) $(MAKEFILES) DESCR $(MANS) $(SGMLS) \ |
Line 80 port: mdocml-oport-$(VERSION).tar.gz \ |
|
Line 83 port: mdocml-oport-$(VERSION).tar.gz \ |
|
mdocml-fport-$(VERSION).tar.gz \ |
mdocml-fport-$(VERSION).tar.gz \ |
mdocml-nport-$(VERSION).tar.gz |
mdocml-nport-$(VERSION).tar.gz |
|
|
www: $(HTMLS) $(TARGZS) |
www: all $(HTMLS) $(TARGZS) $(TEXTS) |
|
|
installwww: www |
installwww: www |
install -m 0444 $(HTMLS) $(STATICS) $(PREFIX)/ |
install -m 0444 $(TEXTS) $(HTMLS) $(STATICS) $(PREFIX)/ |
install -m 0444 mdocml-$(VERSION).tar.gz $(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-$(VERSION).tar.gz $(PREFIX)/snapshots/mdocml.tar.gz |
install -m 0444 mdocml-oport-$(VERSION).tar.gz $(PREFIX)/ports-openbsd/ |
install -m 0444 mdocml-oport-$(VERSION).tar.gz $(PREFIX)/ports-openbsd/ |
Line 242 mandoc: $(MAINOBJS) libmdoc.a libman.a |
|
Line 245 mandoc: $(MAINOBJS) libmdoc.a libman.a |
|
.sgml.html: |
.sgml.html: |
validate $< |
validate $< |
sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< > $@ |
sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< > $@ |
|
|
|
.1.1.txt: |
|
./mandoc -Wall,error $< | col -b > $@ |
|
|
|
.3.3.txt: |
|
./mandoc -Wall,error $< | col -b > $@ |
|
|
|
.7.7.txt: |
|
./mandoc -Wall,error $< | col -b > $@ |