[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Makefile between version 1.217 and 1.222

version 1.217, 2009/09/21 16:05:05 version 1.222, 2009/10/03 16:36:06
Line 1 
Line 1 
 .SUFFIXES:      .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.html .3.html .7.html  .SUFFIXES:      .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.txt .3.txt .7.txt .1.sgml .3.sgml .7.sgml
   
 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.9.5  VERSION    = 1.9.6
 VDATE      = 21 September 2009  VDATE      = 25 September 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
 CFLAGS    += $(VFLAGS)  CFLAGS    += $(VFLAGS)
 LINTFLAGS += $(VFLAGS)  LINTFLAGS += $(VFLAGS)
   
   MANDOCFLAGS     = -Wall -fstrict
   MANDOCHTML      = -Thtml -ostyle=style.css,man=%N.%S.html,includes=%I.html
   
 MDOCLNS    = mdoc_macro.ln mdoc.ln mdoc_hash.ln mdoc_strings.ln \  MDOCLNS    = mdoc_macro.ln mdoc.ln mdoc_hash.ln mdoc_strings.ln \
              mdoc_argv.ln mdoc_validate.ln mdoc_action.ln \               mdoc_argv.ln mdoc_validate.ln mdoc_action.ln \
              lib.ln att.ln arch.ln vol.ln msec.ln st.ln \               lib.ln att.ln arch.ln vol.ln msec.ln st.ln \
Line 52  DATAS    = arch.in att.in lib.in msec.in st.in \
Line 55  DATAS    = arch.in att.in lib.in msec.in st.in \
              vol.in chars.in               vol.in chars.in
 HEADS      = mdoc.h libmdoc.h man.h libman.h term.h \  HEADS      = mdoc.h libmdoc.h man.h libman.h term.h \
              libmandoc.h html.h chars.h               libmandoc.h html.h chars.h
 SGMLS      = index.sgml  GSGMLS     = mandoc.1.sgml mdoc.3.sgml mdoc.7.sgml manuals.7.sgml \
                mandoc_char.7.sgml man.7.sgml man.3.sgml
   SGMLS      = index.sgml $(GSGMLS)
 XSLS       = ChangeLog.xsl  XSLS       = ChangeLog.xsl
 HTMLS      = index.html ChangeLog.html mandoc.1.html mdoc.3.html \  HTMLS      = index.html mandoc.1.html mdoc.3.html \
              man.3.html mdoc.7.html man.7.html mandoc_char.7.html \               man.3.html mdoc.7.html man.7.html mandoc_char.7.html \
              manuals.7.html               manuals.7.html
   TEXTS      = mandoc.1.txt mdoc.3.txt man.3.txt mdoc.7.txt man.7.txt \
                mandoc_char.7.txt manuals.7.txt ChangeLog.txt
 EXAMPLES   = example.style.css  EXAMPLES   = example.style.css
 XMLS       = ChangeLog.xml  XMLS       = ChangeLog.xml
 STATICS    = index.css style.css external.png  STATICS    = index.css style.css external.png
Line 66  MANS    = mandoc.1 mdoc.3 mdoc.7 manuals.7 mandoc_char
Line 73  MANS    = mandoc.1 mdoc.3 mdoc.7 manuals.7 mandoc_char
              man.7 man.3               man.7 man.3
 BINS       = mandoc  BINS       = mandoc
 CLEAN      = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \  CLEAN      = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \
              $(TARGZS) tags $(MD5S) $(XMLS)               $(TARGZS) tags $(MD5S) $(XMLS) $(TEXTS) $(GSGMLS)
 INSTALL    = $(SRCS) $(HEADS) Makefile $(MANS) $(SGMLS) $(STATICS) \  INSTALL    = $(SRCS) $(HEADS) Makefile $(MANS) $(SGMLS) $(STATICS) \
              $(DATAS) $(XSLS) $(EXAMPLES)               $(DATAS) $(XSLS) $(EXAMPLES)
   
Line 82  cleanlint:
Line 89  cleanlint:
   
 dist:   mdocml-$(VERSION).tar.gz  dist:   mdocml-$(VERSION).tar.gz
   
 www:    all $(HTMLS) $(MD5S) $(TARGZS)  www:    all $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS)
   
 installwww: www  installwww: www
         install -m 0444 $(HTMLS) $(STATICS) $(PREFIX)/          install -m 0444 $(HTMLS) $(TEXTS) $(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).md5 $(PREFIX)/snapshots/          install -m 0444 mdocml-$(VERSION).md5 $(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
Line 190  libmdoc.h: mdoc.h
Line 197  libmdoc.h: mdoc.h
 ChangeLog.xml:  ChangeLog.xml:
         cvs2cl --xml --xml-encoding iso-8859-15 -t --noxmlns -f $@          cvs2cl --xml --xml-encoding iso-8859-15 -t --noxmlns -f $@
   
   ChangeLog.txt:
           cvs2cl -t -f $@
   
 ChangeLog.html: ChangeLog.xml ChangeLog.xsl  ChangeLog.html: ChangeLog.xml ChangeLog.xsl
         xsltproc -o $@ ChangeLog.xsl ChangeLog.xml          xsltproc -o $@ ChangeLog.xsl ChangeLog.xml
   
Line 222  mandoc: $(MAINOBJS) libmdoc.a libman.a
Line 232  mandoc: $(MAINOBJS) libmdoc.a libman.a
         sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< > $@          sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< > $@
   
 .1.1.txt:  .1.1.txt:
         ./mandoc -Wall,error -fstrict $< | col -b > $@          ./mandoc $(MANDOCFLAGS) $< | col -b > $@
   
 .1.1.html:  .1.1.sgml:
         ./mandoc -Thtml -ostyle=style.css -Wall,error -fstrict $< > $@          ./mandoc $(MANDOCFLAGS) $(MANDOCHTML) $< > $@
   
 .3.3.txt:  .3.3.txt:
         ./mandoc -Wall,error -fstrict $< | col -b > $@          ./mandoc $(MANDOCFLAGS) $< | col -b > $@
   
 .3.3.html:  .3.3.sgml:
         ./mandoc -Thtml -ostyle=style.css -Wall,error -fstrict $< > $@          ./mandoc $(MANDOCFLAGS) $(MANDOCHTML) $< > $@
   
 .7.7.txt:  .7.7.txt:
         ./mandoc -Wall,error -fstrict $< | col -b > $@          ./mandoc $(MANDOCFLAGS) $< | col -b > $@
   
 .7.7.html:  .7.7.sgml:
         ./mandoc -Thtml -ostyle=style.css -Wall,error -fstrict $< > $@          ./mandoc $(MANDOCFLAGS) $(MANDOCHTML) $< > $@
   
 .tar.gz.md5:  .tar.gz.md5:
         md5 $< > $@          md5 $< > $@

Legend:
Removed from v.1.217  
changed lines
  Added in v.1.222

CVSweb