From 36ea763e1d60e90e0dcc52598928b16a38e0f6cc Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 29 Sep 2013 16:47:01 -0400 Subject: [PATCH] Add example configuration file --- Makefile.am | 2 +- configure.ac | 2 +- data/Makefile.am | 11 +++++++++++ data/emu8051.conf | 9 +++++++++ 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 data/Makefile.am create mode 100644 data/emu8051.conf diff --git a/Makefile.am b/Makefile.am index c8cfbc0..ace901c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/configure.ac b/configure.ac index 2184292..2f0407a 100644 --- a/configure.ac +++ b/configure.ac @@ -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 index 0000000..758f36c --- /dev/null +++ b/data/Makefile.am @@ -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 index 0000000..3b6b558 --- /dev/null +++ b/data/emu8051.conf @@ -0,0 +1,9 @@ + +[emulation] +clear_ram_on_file_load=false + +[ui] +win_width=500 +win_height=300 +hpane_pos=100 +vpane_pos=200 -- 2.20.1