Index: trunk/Makefile.conf.in =================================================================== --- trunk/Makefile.conf.in (revision 5786) +++ trunk/Makefile.conf.in (revision 5787) @@ -1,11 +1,16 @@ print [@# generated by ./configure, do not modify + +# Compatibility with autotools on DESTDIR - Debian really wants this +# Still keep install_root as well, because that has a better name +Install_root=$(install_root)$(DESTDIR) + # prefix is @/local/prefix@ -DOCDIR=$(install_root)@/local/prefix@/share/doc/pcb-rnd -LIBDIR=$(install_root)@/local/prefix@/lib/pcb-rnd -BINDIR=$(install_root)@/local/prefix@/bin -ETCDIR=$(install_root)/etc -DATADIR=$(install_root)@/local/prefix@/share/pcb-rnd -MAN1DIR=$(install_root)@/local/prefix@/share/man/man1 +DOCDIR=$(Install_root)@/local/prefix@/share/doc/pcb-rnd +LIBDIR=$(Install_root)@/local/prefix@/lib/pcb-rnd +BINDIR=$(Install_root)@/local/prefix@/bin +ETCDIR=$(Install_root)/etc +DATADIR=$(Install_root)@/local/prefix@/share/pcb-rnd +MAN1DIR=$(Install_root)@/local/prefix@/share/man/man1 RM=@/host/fstools/rm@ CP=@/host/fstools/cp@ LN=@/host/fstools/ln@ Index: trunk/doc/developer/packaging.txt =================================================================== --- trunk/doc/developer/packaging.txt (revision 5786) +++ trunk/doc/developer/packaging.txt (revision 5787) @@ -48,13 +48,13 @@ 3. typical ./configure options - scconfig vs. auto* -./configure --prefix works as expected. DESTDIR is called install_root. +./configure --prefix works as expected. DESTDIR works as expected. Typical commands for configuring pcb-rnd for packaging would be: ./configure --all=plugin --prefix=/usr make all - install_root=/tmp/pkg_tmp make install + DESTDIR=/tmp/pkg_tmp make install We are happy with scconfig. Please don't write about how much better autoconf or cmake would be, we won't switch.