]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/notes-mode/mkconfig
* GNUmakefile: Obey a .elpaignore file in a package's root directory.
[gnu-emacs-elpa] / packages / notes-mode / mkconfig
index 84e66cc038b7b34703d1b3bb4253f47e8b749236..eeb8180267f63d2ac9cafadae03b45ac38369998 100755 (executable)
@@ -4,7 +4,7 @@
 # mkconfig
 # $Id: mkconfig,v 1.10 2003/05/23 16:26:30 johnh Exp $
 #
-# Copyright (C) 1996 by John Heidemann.
+# Copyright (C) 1996,2012  Free Software Foundation, Inc.
 # Comments to <johnh@isi.edu>.
 #
 # This file is under the Gnu Public License, version 2.
@@ -32,11 +32,11 @@ my($home_dir) = ((getpwuid($<))[7]);
 
 my(%defaults) = (
     'dir'      => ['path', '~/NOTES'],
-    'bin_dir'  => ['path', '/home/johnh/NOTES/BIN'],
-    'lisp_dir' => ['path', '/home/johnh/LIB/EMACS'],
     'int_form' => ['form', '%Y%m'],
     'file_form'        => ['form', '%y%m%d'],
     );
+$defaults{'bin_dir'} = ['path', "$ENV{'NOTES_BIN_DIR'}"]
+    if defined($ENV{'NOTES_BIN_DIR'});
 
 my($key, $value, %notes);
 while (($key, $value) = each %defaults) {