From a425a65d46d017d8898d8d87e2acba1fa5ac39b6 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 5 Jun 2011 12:17:14 +0200 Subject: [PATCH] build-sys: add contrib directory Move files that are not compiled to /contrib directory. The files consist two unmaintained commands, alternative ps & w, and and broken utmp examination / printing utility. The dummy.c became unnecessary at the point when autotools where re-introduced. Signed-off-by: Sami Kerola --- Makefile.am | 6 ++++-- configure.ac | 2 +- dummy.c => contrib/dummy.c | 0 minimal.c => contrib/minimal.c | 0 tmp-junk.c => contrib/tmp-junk.c | 0 utmp.c => contrib/utmp.c | 0 6 files changed, 5 insertions(+), 3 deletions(-) rename dummy.c => contrib/dummy.c (100%) rename minimal.c => contrib/minimal.c (100%) rename tmp-junk.c => contrib/tmp-junk.c (100%) rename utmp.c => contrib/utmp.c (100%) diff --git a/Makefile.am b/Makefile.am index 2fc3cc73..3bf1516f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,8 +66,10 @@ EXTRA_DIST = \ autogen.sh \ BUGS \ CodingStyle \ + contrib/dummy.c \ + contrib/minimal.c \ + contrib/tmp-junk.c \ + contrib/utmp.c \ COPYING.LIB \ - dummy.c \ README.top \ - tmp-junk.c \ $(sysconf_DATA) diff --git a/configure.ac b/configure.ac index 4e84ed96..b73f3687 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,7 @@ AC_INIT([procps-ng], [3.3.0], [procps@freelists.org],,[http://gitorious.org/procps]) AM_INIT_AUTOMAKE -AC_CONFIG_SRCDIR([dummy.c]) +AC_CONFIG_SRCDIR([top.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. diff --git a/dummy.c b/contrib/dummy.c similarity index 100% rename from dummy.c rename to contrib/dummy.c diff --git a/minimal.c b/contrib/minimal.c similarity index 100% rename from minimal.c rename to contrib/minimal.c diff --git a/tmp-junk.c b/contrib/tmp-junk.c similarity index 100% rename from tmp-junk.c rename to contrib/tmp-junk.c diff --git a/utmp.c b/contrib/utmp.c similarity index 100% rename from utmp.c rename to contrib/utmp.c