Autotools = automake + autoconf + libtool
- PROGRAMS
- LIBRARIES
- LISP
- PYTHON
- JAVA
- SCRIPTS
- DATA
- HEADERS
- MANS
- TEXINFOS
- prefix = /usr/local
- exec-prefix = $(prefix)
- bindir = $(exec_prefix)/bin
- sbindir = $(exec_prefix)/sbin
- libexecdir = $(exec_prefix)/libexec
- datarootdir = $(prefix)/share
- datadir = $(datarootdir)
- sysconfdir = $(prefix)/etc
- sharedstatedir = $(prefix)/com
- localstatedir = $(prefix)/var
- includedir = $(prefix)/include
- oldincludedir = /usr/include
- docdir =
$(datarootdir)/doc/$ (package) - infodir = $(datarootdir)/info
- htmldir = $(docdir)
- dvidir = $(docdir)
- pdfdir = $(docdir)
- psdir = $(docdir)
- libdir = $(exec_prefix)/lib
- lispdir = $(datarootdir)/emacs/site-lisp
- localedir = $(datarootdir)/locale
- mandir = $(datarootdir)/man
- manNdir = $(mandir)/manN (N = 1..9)
- manext = .1
- manNext = .N (N = 1..9)
- srcdir = (compiled project root)
- pkgdatadir
- pkgincludedir
- pkglibdir
- check - The check prefix indicates products that are built only for testing purposes, and thus will not be installed at all.
- noinst - The noinst prefix indicates that the listed products should be built, but not installed.
- EXTRA - used to list programs that are conditionally built. Usually used to include directory recursivelly
- dist - indicates a set of files that should be distributed (that is, included in the distribution package when "make dist" is executed).
- %{_sysconfdir} /etc
- %{_prefix} /usr
- %{_exec_prefix} %{_prefix}
- %{_bindir} %{_exec_prefix}/bin
- %{_libdir} %{_exec_prefix}/%{_lib}
- %{_libexecdir} %{_exec_prefix}/libexec
- %{_sbindir} %{_exec_prefix}/sbin
- %{_sharedstatedir} /var/lib
- %{_datarootdir} %{_prefix}/share
- %{_datadir} %{_datarootdir}
- %{_includedir} %{_prefix}/include
- %{_infodir} /usr/share/info
- %{_mandir} /usr/share/man
- %{_localstatedir} /var
- %{_initddir} %{_sysconfdir}/rc.d/init.d
- %{_var} /var
- %{_tmppath} %{_var}/tmp
- %{_usr} /usr
- %{_usrsrc} %{_usr}/src
- %{_lib} lib (lib64 on 64bit multilib systems)
- %{_docdir} %{_datadir}/doc
- %{buildroot} %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}
- $RPM_BUILD_ROOT %{buildroot}
./autogen.sh ; ./configure
./autogen.sh ; ./configure; make dist
./autogen.sh ; ./configure; make distcheck
DESTDIR=/tmp/test-installation make install
DESTDIR=/tmp/test-installation make uninstall
./autogen.sh; ./configure; make distcheck; rpmbuild -ts *.tar.gz
./autogen.sh; ./configure; make distcheck; rpmbuild -ts *.tar.gz; rpmbuild --rebuild *.src.rpm
./autogen.sh; ./configure; make distcheck; rpmbuild -tb *.tar.gz