summaryrefslogtreecommitdiff
path: root/mk/texinfo.mk
AgeCommit message (Collapse)AuthorFilesLines
2003-10-07Insure that the install-info we found is not one provided by the gtexinfoseb1-2/+2
package by comparing its "base path" against LOCALBASE. This should fix the problem mentioned in PR pkg/20450.
2003-09-09Remove this unsupported float comparison. How did this worked? I wonder...seb1-4/+13
Introduce private variables _{MAKEINFO,TEXINFO_REQD}_{MAJOR,MINOR} holding the major and minor number version numbers of available makeinfo and of the minimum required version. Use these to sort out if devel/gtexinfo is needed as dependency.
2003-09-02Merge pkgviews-mk branch into the HEAD by running:jlam1-1/+1
cd pkgsrc/mk cvs update -Pd -A cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-08-16Remove setting of INSTALL_INFO and MAKEINFO in {MAKE,CONFIGURE}_ENVseb1-25/+1
from texinfo.mk. Only set them there from tools.mk: this way they are always set whatever the value of INFO_FILES and USE_MAKEINFO as texinfo.mk is included only if INFO_FILES is not empty or USE_MAKEINFO is not "no". Please note that now with tools.mk install-info and makeinfo usage by a package build and installation process is always caught by the overriding scripts in ${TOOLS_DIR}/bin/{install-info,makeinfo} even if the package does not use the buildlink framework. Many thanks to Johnny for that! XXX: I think I'm going to sweep over packages marked with INFO_FILES and USE_MAKEINFO to remove the need of INSTALL_INFO and MAKEINFO in environment and thus only relying on the overriding scripts. This will clear a bit the clutter in {MAKE,CONFIGURE}_ENV.
2003-08-09USE_NEW_TEXINFO is now ubiquitous. Remove conditionals on it.seb1-103/+3
Also remove the older texinfo.mk framework as well as the previous handling of INFO_FILES, all this is not used anymore.
2003-07-31Revert previous. USE_MAKEINFO is initialized in bsd.pkg.mk.seb1-4/+1
The problem jmc encountered in textproc/groff and leading him to add it here was fixed in groff package itself.
2003-07-31Need to define USE_MAKEINFO before testing against itjmc1-1/+4
2003-07-31Sync comments with reality (Trilogy, volume 5).seb1-5/+4
2003-07-31Make it possible to have a package requiring makeinfo but not install-info.seb1-14/+13
INFO_FILES is now defined by default to the empty value. If it is not empty it means that install-info -or a suitable replacement like pkg_install-info- is required. USE_MAKEINFO is now defined by default to the 'no' value. If it has any other value it means that makeinfo is required. Note that as before simply defining USE_MAKEINFO in a package Makefile is enough to trigger the use of makeinfo. I.e. it is not required to be '[yY][eE][sS]'. As a side effect when using buildlink2 always create install-info and makeinfo wrappers in ${BUILDLINK_DIR}/bin. This could help package maintainer to catch spurious/hidden install-info and makeinfo usage. Note that for now this nice feature is not really enabled as the relevant part of bsd.buildlink2.mk is still conditional upon USE_NEW_TEXINFO. It will really be when USE_NEW_TEXINFO will be removed from pkgsrc.
2003-07-31include bsd.prefs.mk, since we use ${ECHO}.grant1-1/+3
2003-07-02patch from seb@ to pass --split-size to gtexinfo >= 4.6.grant1-1/+15
thanks seb :)
2003-07-01Only consider as makeinfo's version the first version number looking wordseb1-2/+7
in `makeinfo --version'. This is needed for older makeinfo which output thing like: makeinfo (GNU texinfo 3.12) 1.68 Copyright (C) 1998 Free Software Foundation, Inc. .... This should fix the problem encountered by Thorsten Frueauf on 1.5.4_ALPHA (I reproduced it on stock 1.5.3) and reported in private email via jschauma@.
2003-06-29Introduce a variable called "MAKEINFO_ARGS", which may be used to passjschauma1-3/+5
arguments to makeinfo(1). This was made necessary by the fact that under IRIX64 makeinfo(1) does not use a default split-size of 50000, which breaks our PLISTs. After feedback from seb@, initialize MAKEINFO_ARGS per default to _OPSYS_MAKEINFO_ARGS, which is set in defs.<OPSYS>.mk (currently only for IRIX using 64-bit ABI).
2003-06-19Introduce a new framework to handle info files, install-info andseb1-3/+132
makeinfo commands. The goal of the new framework is twofold: - reduce the number of '@exec' and '@unexec' in PLIST by using INSTALL/DEINSTALL scripts to handle entries addition/removal Info directory file. - achieve lighter dependencies by avoiding unnecessary run-time dependency on the gtexinfo package and if needed with the help of the standalone install-info command provided by the recently imported package pkgtools/pkg_install-info. A package must be sightly updated to use this new framework and must define the variable USE_NEW_TEXINFO. This variable will be removed from the pkgsrc tree when all package would have been updated. For details see section 10.24 of Packages.txt, comments in mk/{texinfo.mk,buildlink2/bsd.buildlink2.mk} and upcoming mail to <tech-pkg at netbsd dot org>.
2003-05-06TEXINFO_OVERRIDE tweak: '(install-info ' is also a pattern that can beseb1-2/+2
encountered in Makefile.ins generated by automake. XXX Hopefully this is going to be the last modification for this file's avatar.
2003-02-13When comparing install-info version, ignore non [0-9.] - treat 4.0b as 4.0abs1-4/+4
2003-01-28Search for the system provided install-info in /usr/bin and if neededseb1-6/+12
in /sbin. If devel/gtexinfo if not used assume makeinfo is /usr/bin/makeinfo. Confirmed to work on RedHat 7.3 by abs, thanks!
2003-01-28white space fix: replace spaces by tabsseb1-12/+12
2002-11-14Drop some trailing whitespace.wiz1-2/+2
2002-03-14Always append to TEXINFO_SUBST_SED. It was my original intend thatseb1-2/+2
a package creator can add package specifics sed commands to it. Noted by Masao Uebayashi in private email, Thanks!
2002-03-10Typo and whitespace fix.seb1-3/+3
2002-03-10Add default for _GTEXINFO_PREFIX.seb1-1/+2
2002-03-06Do not blindly assign to EVAL_PREFIX! How come I was not bitten by this ?!seb1-2/+2
2002-02-18Introduce new framework for handling info files generation and installation.seb1-0/+83
Summary of changes: - removal of USE_GTEXINFO - addition of mk/texinfo.mk - inclusion of this file in package Makefiles requiring it - `install-info' substituted by `${INSTALL_INFO}' in PLISTs - tuning of mk/bsd.pkg.mk: removal of USE_GTEXINFO INSTALL_INFO added to PLIST_SUBST `${INSTALL_INFO}' replace `install-info' in target rules print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info' - a couple of new patch files added for a handful of packages - setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it - devel/cssc marked requiring texinfo 4.0 - a couple of packages Makefiles were tuned with respect of INFO_FILES and makeinfo command usage See -newly added by this commit- section 10.24 of Packages.txt for further information.