Add example configuration file
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 29 Sep 2013 20:47:01 +0000 (16:47 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 10 Oct 2013 01:07:22 +0000 (21:07 -0400)
Makefile.am
configure.ac
data/Makefile.am [new file with mode: 0644]
data/emu8051.conf [new file with mode: 0644]

index c8cfbc0..ace901c 100644 (file)
@@ -2,7 +2,7 @@
 
 AUTOMAKE_OPTIONS = gnu
 
-SUBDIRS = src doc
+SUBDIRS = src data doc
 
 ## We want these in the dist tarball
 EXTRA_DIST = autogen.sh \
index 2184292..2f0407a 100644 (file)
@@ -59,7 +59,7 @@ AC_SUBST(LIBS)
 AC_SUBST(ac_aux_dir)
 
 dnl Creating output file(s)
-AC_OUTPUT(Makefile src/Makefile doc/Makefile)
+AC_OUTPUT(Makefile src/Makefile data/Makefile doc/Makefile)
 
 echo \
 "---------------------------------------------------------------------------
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644 (file)
index 0000000..758f36c
--- /dev/null
@@ -0,0 +1,11 @@
+
+defconfdir=$(sysconfdir)/xdg/emu8051/default
+defconf_DATA = \
+       emu8051.conf
+
+EXTRA_DIST= \
+       $(defconf_DATA)
+
+CLEANFILES = *~
+
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/data/emu8051.conf b/data/emu8051.conf
new file mode 100644 (file)
index 0000000..3b6b558
--- /dev/null
@@ -0,0 +1,9 @@
+
+[emulation]
+clear_ram_on_file_load=false
+
+[ui]
+win_width=500
+win_height=300
+hpane_pos=100
+vpane_pos=200