X-Git-Url: https://git.distorted.org.uk/~mdw/become/blobdiff_plain/c758e6541ca05409b178dd9629e9337494c49890..af4f4d6a77aceba8e2d6f58d15e894df320e7c24:/conf/Makefile.am diff --git a/conf/Makefile.am b/conf/Makefile.am index 68f0222..bcf7300 100644 --- a/conf/Makefile.am +++ b/conf/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with `automake' to generate `Makefile.in' ## -*-makefile-*- ## -## $Id: Makefile.am,v 1.3 1998/01/12 16:45:34 mdw Exp $ +## $Id: Makefile.am,v 1.6 2004/04/08 01:36:20 mdw Exp $ ## ## Makefile for `become' ## @@ -26,38 +26,27 @@ ## along with `become'; if not, write to the Free Software Foundation, ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -##----- Revision history ---------------------------------------------------- -## -## $Log: Makefile.am,v $ -## Revision 1.3 1998/01/12 16:45:34 mdw -## Fix copyright date. -## -## Revision 1.2 1997/09/18 11:15:14 mdw -## Install a skeleton configuration file carefully. -## -## Revision 1.1 1997/08/20 16:27:02 mdw -## New file. -## - ## --- Install configuration things --- etcdir = @etcdir@ noinst_DATA = become.conf +EXTRA_DIST = become.conf install-data-local: become.conf - $(mkinstalldirs) $(etcdir) - if test -r $(etcdir)/become.conf; then \ + $(mkinstalldirs) $(DESTDIR)$(etcdir) + if test -r $(DESTDIR)$(etcdir)/become.conf; then \ echo ">>>>>"; \ echo ">>>>> become.conf NOT installed"; \ echo ">>>>>"; \ else \ - $(INSTALL_DATA) $(srcdir)/become.conf $(etcdir)/become.conf; \ + $(INSTALL_DATA) $(srcdir)/become.conf \ + $(DESTDIR)$(etcdir)/become.conf; \ fi uninstall-local: - if cmp -s $(srcdir)/become.conf $(etcdir)/become.conf; then \ - rm -f $(etcdir)/become.conf; \ + if cmp -s $(srcdir)/become.conf $(DESTDIR)$(etcdir)/become.conf; then \ + rm -f $(DESTDIR)$(etcdir)/become.conf; \ else \ echo ">>>>>"; \ echo ">>>>> $(etcdir)/become.conf NOT uninstalled."; \