歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> freebsd用port安裝時make的功能

freebsd用port安裝時make的功能

日期:2017/2/28 11:16:46   编辑:關於Unix


一直以來大家不知道在ports中的make還可以有很多的功能,今天我將它可以帶有的參數一個個列出來。希望做為一個記錄,還是比較有用的喲。
fetch - Retrieves $ (and $ if defined) into $ as necessary.
fetch-list - Show list of files that would be retrieved by fetch.
fetch-recursive - Retrieves $ (and $ if defined), for port and dependencies into $ as necessary.
fetch-recursive-list - Show list of files that would be retrieved by fetch-recursive.
fetch-required-list - Show list of files that would be retrieved by fetch-required.
fetch-required - Retrieves $ (and $ if defined), for port and dependencies that are not already installed into $.
all-depends-list - Show all directories which are dependencies for this port.
build-depends-list - Show all directories which are build-dependencies for this port.
package-depends-list - Show all directories which are package-dependencies for this port.
run-depends-list - Show all directories which are run-dependencies for this port. extract - Unpacks $ into $.
patch - Apply any provided patches to the source.
configure - Runs either GNU configure, one or more local configure scripts or nothing, depending on what's available.
build - Actually compile the sources.
install - Install the results of a build.
reinstall - Install the results of a build, ignoring "already installed" flag.
deinstall - Remove the installation.
deinstall-all - Remove all installations with the same PKGORIGIN. package - Create a package from an _installed_ port.
package-recursive - Create a package for a port and _all_ of its dependancies.
describe - Try to generate a one-line description for each port for use in INDEX files and the like.
checkpatch - Do a "patch -C" instead of a "patch". Note that it may give incorrect results if multiple patches deal with the same file.
checksum - Use distinfo to ensure that your distfiles are valid.
checksum-recursive - Run checksum in this port and all dependencies.
makesum - Generate distinfo (only do this for your own ports!).
clean - Remove $ and other temporary files used for building.
clean-depends - Do a "make clean" for all dependencies.
config - Configure options for this port (using $). Automatically run prior to extract, patch, configure, build, install, and package.
showconfig - Display options config for this port
rmconfig - Remove the options config for this port
Copyright © Linux教程網 All Rights Reserved