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

Diff for /mandoc/Makefile between version 1.374 and 1.375

version 1.374, 2011/10/08 12:21:57 version 1.375, 2011/10/08 12:47:40
Line 9 
Line 9 
   
 # Specify this if you want to hard-code the operating system to appear  # Specify this if you want to hard-code the operating system to appear
 # in the lower-left hand corner of -mdoc manuals.  # in the lower-left hand corner of -mdoc manuals.
   #
 # CFLAGS        += -DOSNAME="\"OpenBSD 4.5\""  # CFLAGS        += -DOSNAME="\"OpenBSD 4.5\""
   
 VERSION          = 1.12.0  VERSION          = 1.12.0
 VDATE            = 8 October 2011  VDATE            = 8 October 2011
   
 # IFF your system supports multi-byte functions (setlocale(), wcwidth(),  # IFF your system supports multi-byte functions (setlocale(), wcwidth(),
 # putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a  # 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  # UCS-4 value) should you define USE_WCHAR.  If you define it and your
 # system DOESN'T support this, -Tlocale will produce garbage.  # system DOESN'T support this, -Tlocale will produce garbage.
 # If you don't define it, -Tlocale is a synonym for -Tacsii.  # If you don't define it, -Tlocale is a synonym for -Tacsii.
   #
 CFLAGS          += -DUSE_WCHAR  CFLAGS          += -DUSE_WCHAR
   
 CFLAGS          += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""  CFLAGS          += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""
 CFLAGS          += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings  CFLAGS          += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
 PREFIX           = /usr/local  PREFIX           = /usr/local
Line 34  INSTALL_LIB  = $(INSTALL) -m 0644
Line 38  INSTALL_LIB  = $(INSTALL) -m 0644
 INSTALL_SOURCE   = $(INSTALL) -m 0644  INSTALL_SOURCE   = $(INSTALL) -m 0644
 INSTALL_MAN      = $(INSTALL_DATA)  INSTALL_MAN      = $(INSTALL_DATA)
   
 # Linux needs -ldb to compile mandocdb.  # Non-BSD systems (Linux, etc.) need -ldb to compile mandocdb and
   # apropos.
   # However, if you don't have -ldb at all (or it's not native), then
   # comment out apropos and mandocdb.
   #
 #DBLIB           = -ldb  #DBLIB           = -ldb
   DBBIN            = apropos mandocdb
   
 all: mandoc preconv demandoc apropos mandocdb  all: mandoc preconv demandoc $(DBBIN)
   
 SRCS             = Makefile \  SRCS             = Makefile \
                    apropos.1 \                     apropos.1 \
Line 451  mdocml-win32.zip: $(SRCS)
Line 460  mdocml-win32.zip: $(SRCS)
         mkdir -p .win32/mdocml-$(VERSION)/          mkdir -p .win32/mdocml-$(VERSION)/
         $(INSTALL_SOURCE) $(SRCS) .win32          $(INSTALL_SOURCE) $(SRCS) .win32
         cp .win32/Makefile .win32/Makefile.old          cp .win32/Makefile .win32/Makefile.old
         grep -v DUSE_WCHAR .win32/Makefile.old >.win32/Makefile          egrep -v -e DUSE_WCHAR -e ^DBBIN .win32/Makefile.old >.win32/Makefile
         ( cd .win32; \          ( cd .win32; \
                 CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \                  CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \
                 make install PREFIX=mdocml-$(VERSION) ; \                  make install PREFIX=mdocml-$(VERSION) ; \
Line 462  mdocml-win64.zip: $(SRCS)
Line 471  mdocml-win64.zip: $(SRCS)
         mkdir -p .win64/mdocml-$(VERSION)/          mkdir -p .win64/mdocml-$(VERSION)/
         $(INSTALL_SOURCE) $(SRCS) .win64          $(INSTALL_SOURCE) $(SRCS) .win64
         cp .win64/Makefile .win64/Makefile.old          cp .win64/Makefile .win64/Makefile.old
         grep -v DUSE_WCHAR .win64/Makefile.old >.win64/Makefile          egrep -v -e DUSE_WCHAR -e ^DBBIN .win64/Makefile.old >.win64/Makefile
         ( cd .win64; \          ( cd .win64; \
                 CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \                  CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar CFLAGS='-DOSNAME=\"Windows\"' make; \
                 make install PREFIX=mdocml-$(VERSION) ; \                  make install PREFIX=mdocml-$(VERSION) ; \

Legend:
Removed from v.1.374  
changed lines
  Added in v.1.375

CVSweb