diff --git a/Makefile.am b/Makefile.am index 6570a4e..48aca83 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,10 +2,4 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src man include - -pkgsysconfdir = $(sysconfdir) -pkgsysconf_DATA = etc/bmon.conf - -EXTRA_DIST = \ - $(pkgsysconf_DATA) +SUBDIRS = src man include examples diff --git a/configure.ac b/configure.ac index bd1724f..411c98e 100644 --- a/configure.ac +++ b/configure.ac @@ -194,6 +194,7 @@ Makefile include/Makefile src/Makefile man/Makefile +examples/Makefile ]) AC_OUTPUT diff --git a/examples/Makefile.am b/examples/Makefile.am new file mode 100644 index 0000000..a85ff55 --- /dev/null +++ b/examples/Makefile.am @@ -0,0 +1,6 @@ +# -*- Makefile -*- + +exampledir = $(datarootdir)/doc/@PACKAGE@/examples +example_DATA = bmon.conf + +EXTRA_DIST = $(example_DATA) diff --git a/etc/bmon.conf b/examples/bmon.conf similarity index 100% rename from etc/bmon.conf rename to examples/bmon.conf