一直以来大家不知道在ports中的make还可以有很多的功能,今天我将它可以带有的参数一个个列出来。
- Retrieves ${DISTFILES} (and ${PATCHFILES} if defined) into ${DISTDIR}
- Show list of files that would be retrieved by fetch.
- Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and
dependencies into ${DISTDIR} as necessary.
- Show list of files that would be retrieved by fetch-recursive.
- Show list of files that would be retrieved by fetch-required.
- Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and
dependencies that are not already installed into ${DISTDIR}.
- Show all directories which are dependencies for this port.
- Show all directories which are build-dependencies for this port.
- Show all directories which are package-dependencies for this port.
- Show all directories which are run-dependencies for this port.
- Unpacks ${DISTFILES} into ${WRKDIR}.
- Apply any provided patches to the source.
- Runs either GNU configure, one or more local configure scripts or
nothing, depending on what's available.
- Actually compile the sources.
- Install the results of a build.
- Install the results of a build, ignoring "already installed" flag.
- Remove the installation.
- Remove all installations with the same PKGORIGIN.
- Create a package from an _installed_ port.
- Create a package for a port and _all_ of its dependancies.
- Try to generate a one-line description for each port for use in INDEX
- Do a "patch -C" instead of a "patch". Note that it may give incorrect
results if multiple patches deal with the same file.
- Use distinfo to ensure that your distfiles are valid.
- Run checksum in this port and all dependencies.
- Generate distinfo (only do this for your own ports!).
- Remove ${WRKDIR} and other temporary files used for building.
- Do a "make clean" for all dependencies.
- Configure options for this port (using ${DIALOG}). Automatically run
prior to extract, patch, configure, build, install, and package.
- Display options config for this port
- Remove the options config for this port
原文:https://blog.csdn.net/xport/article/details/498287
版权声明:本文为博主原创文章,转载请附上博文链接!