This node describes conventions for writing the Makefiles for GNU programs. Using Automake will help you write a Makefile that follows these conventions.
14.1 General Conventions for Makefiles 14.2 Utilities in Makefiles 14.3 Variables for Specifying Commands 14.4 Variables for Installation Directories 14.5 Standard Targets for Users 14.6 Install Command Categories Three categories of commands in the `install' rule: normal, pre-install and post-install.