Next: , Previous: , Up: Packaging   [Contents][Index]


4 Makefile targets

The following targets can be used when running make to build the packages:

mostlyclean

Removes any documentation files that have been processed by TeX.

clean

Does a mostlyclean, plus removes generated postscript and dvi files. Also removes any generated .elc files, along with the normal .elc files in the package and HTML and .info files.

distclean

Use this when preparing a distribution. It kills anything that can be rebuilt.

extraclean

Does a distclean and also removes any backup files (*~) and core files.

package-info

Creates the package-info file from the package-info.in and writes an entry in the package-index file.

bindist

Builds the package, including any Texinfo documentation (info format), writes an entry into the package-index file and builds a tarball of the package. Also writes an entry into setup-packages.ini which is later used in the creation of netinstaller’s setup.ini.

install

Builds and installs a package

install-only

Doesn’t build anything, just installs it.

autoloads

Generate the package’s auto-autoloads.el file.

binkit

Creates the directories needed for installation and copies the files there. Basically this is an alias for install-only.

html

Builds the HTML versions of the documentation.

compile

Does most of the work. Builds the elcs, infos at a minimum.

4.1 The targets that most people would be interested in would be: