Next: Building a more complex package, Previous: Setting your environment to use installed packages, Up: Getting started
To clean up the build directory and delete any downloaded files, use
$ make -C gnu/hello clean
There are other useful targets. For example, the whole build sequence can be broken down into stages as follows:
$ make -C gnu/hello fetch checksum extract configure build install
Each target depends on the previous one, so typing
gnu/hello install builds all the earlier targets first.
To see some information about the package before downloading it, use
$ make -C gnu/hello fetch-list make: Entering directory `/home/gnu/gsrc/gnu/hello' Name: hello Version: 2.7 Location: http://ftpmirror.gnu.org/hello/ Distribution files: hello-2.7.tar.gz Patch files: Signature files: hello-2.7.tar.gz.sig Dependencies: make: Leaving directory `/home/gnu/gsrc/gnu/hello'