From: Karel Zak Date: Wed, 2 Mar 2011 13:06:23 +0000 (+0100) Subject: build-sys: move script and scriptreplay to term-utils/ X-Git-Tag: v2.20-rc1~497 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c76d33baccc67b3719403c1b5220d5d57ec9e950;p=thirdparty%2Futil-linux.git build-sys: move script and scriptreplay to term-utils/ Signed-off-by: Karel Zak --- diff --git a/misc-utils/Makefile.am b/misc-utils/Makefile.am index d239024de8..d7ee03ce5f 100644 --- a/misc-utils/Makefile.am +++ b/misc-utils/Makefile.am @@ -6,19 +6,18 @@ bin_PROGRAMS = sbin_PROGRAMS = usrsbin_exec_PROGRAMS = -usrbin_exec_PROGRAMS = cal ddate logger look mcookie \ - namei script whereis scriptreplay +usrbin_exec_PROGRAMS = cal ddate logger look mcookie namei whereis + EXTRA_DIST += README.cal README.ddate README.namei README.namei2 mcookie_SOURCES = mcookie.c $(top_srcdir)/lib/md5.c -script_LDADD = usrbin_exec_SCRIPTS = chkdupexe CLEANFILES = chkdupexe dist_man_MANS = cal.1 chkdupexe.1 ddate.1 logger.1 look.1 mcookie.1 \ - namei.1 script.1 whereis.1 scriptreplay.1 + namei.1 whereis.1 namei_SOURCES = namei.c $(top_srcdir)/lib/strutils.c @@ -98,14 +97,6 @@ endif endif endif -if HAVE_UTIL -script_LDADD += -lutil -endif - -if HAVE_UTEMPTER -script_LDADD += -lutempter -endif - if BUILD_KILL bin_PROGRAMS += kill kill_SOURCES = kill.c procs.c kill.h $(top_srcdir)/lib/strutils.c diff --git a/term-utils/Makefile.am b/term-utils/Makefile.am index 94d377b79b..62342d8327 100644 --- a/term-utils/Makefile.am +++ b/term-utils/Makefile.am @@ -1,13 +1,24 @@ include $(top_srcdir)/config/include-Makefile.am bin_PROGRAMS = -usrbin_exec_PROGRAMS = +usrbin_exec_PROGRAMS = script scriptreplay sbin_PROGRAMS = usrsbin_exec_PROGRAMS = -dist_man_MANS = + +dist_man_MANS = script.1 scriptreplay.1 EXTRA_DIST = README.modems-with-agetty +script_LDADD = + +if HAVE_UTIL +script_LDADD += -lutil +endif + +if HAVE_UTEMPTER +script_LDADD += -lutempter +endif + if BUILD_AGETTY sbin_PROGRAMS += agetty dist_man_MANS += agetty.8 diff --git a/misc-utils/script.1 b/term-utils/script.1 similarity index 100% rename from misc-utils/script.1 rename to term-utils/script.1 diff --git a/misc-utils/script.c b/term-utils/script.c similarity index 100% rename from misc-utils/script.c rename to term-utils/script.c diff --git a/misc-utils/scriptreplay.1 b/term-utils/scriptreplay.1 similarity index 100% rename from misc-utils/scriptreplay.1 rename to term-utils/scriptreplay.1 diff --git a/misc-utils/scriptreplay.c b/term-utils/scriptreplay.c similarity index 100% rename from misc-utils/scriptreplay.c rename to term-utils/scriptreplay.c