Assuming you've checked out the NST source code under the
$HOME/nst
and you've already run configure, you can use the following to see what can be made:
[root@salsa root]#
cd $HOME/nst
[root@salsa nst]#
make help
The following make targets are available
make
Default build - same as 'make all'
make all
Default build. Invokes 'make all' on docs html wui src
Produces burnable image: src/nst-1.5.0.iso*
make help
Displays this help screen
make docs
Builds documentation packages
make clean
Removes temporary files and all of /root/nst/tmp
make clear
Like 'make clean', but also removes configuration files
make package-check
Checks to see if your system is up to date for the optional packages
make package-check-url [MATCH=TEXT]
Checks URLs in packages.tsv to see if files still exists on servers.
Use something link: 'MATCH=snort ettercap' to limit packages checked.
make upload
DISABLED - ON_LINE_DOCS is not set to true!
make release-tag
Tags current CVS source files for release 1.5.0
make release
Builds the full source distribution based on CVS repository.
This also creates the release manifest related files.
Produces: nst-1.5.0.tar.gz src/nst-1.2.1*iso*
html/log/release-1.5.0*.xml
make release-docs SFUSER=ID
Builds the documentation following a 'make release'
You MUST specify your SourceForge ID as we reconfigure!
Produces: nst-docs-1.5.0.tar.gz
make release-pdfs
Builds the documentation in PDF form after a 'make release'
Produces: nst-pdfs-1.5.0.tar.gz
make update
Updates your CVS files (except files you've modified)
to the current head of the CVS source tree.
make commit
Commits all updates you've made to CVS.
make cd
Burns bootable NST CD to blank CD or CDRW (use 'make all' first)
make cdrw
Just like 'make cd', but includes 'blank=fast' to reuse CDRW
make dvd+rw
Burns to DVD+RW media using growisofs (req. /dev/dvd+rw symlink)
make yum-list
Lists ALL RPM packages that can be yum installed
make rpm-check
Checks to see if your system RPM packages are up to date
make rpm-update
This target installs RPM packages that your development
system is missing and then updates RPM packages used by NST.
make rpm-build-update
This target installs/updates RPM packages that your development
are used to build the NST - but don't end up on the ISO.
make tsv-update
This target installs/updates packages that are in the pacackages
TSV file and suitable for automatic install/update.
make package-update
Same as "make rpm-build-update rpm-update package-update"
Attempts to update your system as much as possible.
make rpm-list
This target updates the include/data/rpm_list.txt file
using the contents of the manifest_rpm.tsv file
produced by the last build.
make owner-check [HOST=IP]
Checks ownership of all files in the distribution
if you specify HOST, will do the check on the
files on remote NST probe instead of build area
make ldd-check [HOST=IP]
Checks to see if there are any missing libraries
or files that can be stripped on remote NST probe.
Creates following files:
lddcheck_all.log - All files scanned ok/fail
lddcheck.log - Removes known issues from scan
lddcheck_fail.log - Just known failures
Only known failures are displayed (hopefully you'll
get no output at all)
make symlink-check [HOST=IP]
Looks for symbolic links missing on the NST probe
which are unresolved (point to non-existing files).
make scripts-build
Builds all scripts found under src/scripts
make scripts-install
Builds/installs all installable scripts under src/scripts
make scripts-uninstall
Removes all installed scripts under src/scripts
make probe-install [HOST=IP]
Builds and installs current HTML/NSTWUI to running
probe.
make probe-menu HOST=IP
Builds and installs fluxbox menu onto probe.
make vmware-cfg
Creates ZIP file containing the VMware configuration
necessary to boot the NST ISO in a VMware player
1. Unzip file
2. Copy desired NST ISO image to nst.iso in folder
3. Launch the 'nst.vmx' virtual machine
make vmware-pkgs
Creates tar.gz files for non-VMware development machines
make vmware-list
Generates package list (to stdout) for VMware submission
make wui-update-zip [WUINAME=nstwui-updates-1.5.0]
Creates zip and README files for posting to the NST web site.
The following files are created:
/root/nst/tmp/wui-updates/nstwui-development.zip
/root/nst/tmp/wui-updates/nstwui-README.txt
make wui-update-upload [WUINAME=nstwui-updates-1.5.0] [WUIDIR=DIR]
Looks in the following directory:
/root/nst/tmp/wui-updates
For files:
nstwui-development.zip
wui/nstwui-README.txt
And uploads them to:
@:public_html/nst/wui
Use the WUINAME and WUIDIR options if you want to transfer a
different zip and README file to the site.
Also uploads the files to the new WUI update and patch
repositories at SourceForge: shell.sourceforge.net
[root@salsa nst]#
The available make targets will change over time (the above output may not be the same as what you get from the current source tree).