X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/87b81166882c809588806b94005f780f99284884..b73dbb2f124e747e7c3c066cf61fef62a2ac0913:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 58851f71..2f49ffd2 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,12 @@ VERSION = 1.11.2 VDATE = 12 May 2011 -CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" +# IFF your system supports multi-byte functions (setlocale(), wcwidth(), +# putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a +# UCS-4 value) should you define USE_WCHAR. If you define it and your +# system DOESN'T support this, -Tlocale will produce garbage. +# If you don't define it, -Tlocale is a synonym for -Tacsii. +CFLAGS += -g -DUSE_WCHAR -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\"" CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings PREFIX = /usr/local BINDIR = $(PREFIX)/bin @@ -83,6 +88,7 @@ SRCS = Makefile \ msec.in \ out.c \ out.h \ + predefs.in \ read.c \ roff.7 \ roff.c \ @@ -169,6 +175,7 @@ att.o att.ln: att.in chars.o chars.ln: chars.in lib.o lib.ln: lib.in msec.o msec.ln: msec.in +roff.o roff.ln: predefs.in st.o st.ln: st.in vol.o vol.ln: vol.in @@ -221,7 +228,12 @@ MAKEWHATIS_LNS = makewhatis.ln $(MAKEWHATIS_OBJS) $(MAKEWHATIS_LNS): mandoc.h mdoc.h man.h config.h -INDEX_MANS = mandoc.1.html \ +INDEX_MANS = makewhatis.1.html \ + makewhatis.1.xhtml \ + makewhatis.1.ps \ + makewhatis.1.pdf \ + makewhatis.1.txt \ + mandoc.1.html \ mandoc.1.xhtml \ mandoc.1.ps \ mandoc.1.pdf \