From 7a8e9d4ddbe121bf2cafb095e9ecf262bc074133 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 3 Mar 2008 13:04:08 +0000 Subject: Add a gitignore make target. --- src/.gitignore | 12 --------- src/libeinfo/.gitignore | 6 +++++ src/librc/.gitignore | 14 ++++++++++ src/rc/.gitignore | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ src/rc/Makefile | 6 ++--- 5 files changed, 91 insertions(+), 15 deletions(-) delete mode 100644 src/.gitignore create mode 100644 src/libeinfo/.gitignore create mode 100644 src/librc/.gitignore create mode 100644 src/rc/.gitignore (limited to 'src') diff --git a/src/.gitignore b/src/.gitignore deleted file mode 100644 index f04dfe20..00000000 --- a/src/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -.depend -rc -*.[oa] -*.lo -*.so -*.So -*.so.* -version.h - -# Experimental stuff -rc-daemon.c -rc-daemon.h diff --git a/src/libeinfo/.gitignore b/src/libeinfo/.gitignore new file mode 100644 index 00000000..b4fca0e2 --- /dev/null +++ b/src/libeinfo/.gitignore @@ -0,0 +1,6 @@ +.depend +libeinfo.o +libeinfo.So +libeinfo.a +libeinfo.so.1 +libeinfo.so diff --git a/src/librc/.gitignore b/src/librc/.gitignore new file mode 100644 index 00000000..8ebb1826 --- /dev/null +++ b/src/librc/.gitignore @@ -0,0 +1,14 @@ +.depend +librc.o +librc-daemon.o +librc-depend.o +librc-misc.o +librc-strlist.o +librc.So +librc-daemon.So +librc-depend.So +librc-misc.So +librc-strlist.So +librc.a +librc.so.1 +librc.so diff --git a/src/rc/.gitignore b/src/rc/.gitignore new file mode 100644 index 00000000..17d975c1 --- /dev/null +++ b/src/rc/.gitignore @@ -0,0 +1,68 @@ +.depend +version.h +rc-status +rc-update +runscript +start-stop-daemon +einfon +einfo +ewarnn +ewarn +eerrorn +eerror +ebegin +eend +ewend +eindent +eoutdent +esyslog +eval_ecolors +veinfo +vewarn +vebegin +veend +vewend +veindent +veoutdent +service_starting +service_started +service_stopping +service_stopped +service_inactive +service_wasinactive +service_coldplugged +service_started_daemon +checkpath +fstabinfo +mountinfo +rc-depend +service_get_value +service_set_value +get_options +save_options +shell_var +is_newer_than +is_older_than +mark_service_starting +mark_service_started +mark_service_stopping +mark_service_stopped +mark_service_inactive +mark_service_wasinactive +mark_service_coldplugged +mark_service_failed +rc-abort +checkpath.o +fstabinfo.o +mountinfo.o +rc-applets.o +rc-depend.o +rc-logger.o +rc-misc.o +rc-plugin.o +rc-status.o +rc-update.o +rc.o +runscript.o +start-stop-daemon.o +rc diff --git a/src/rc/Makefile b/src/rc/Makefile index fea22214..26ee1312 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -27,6 +27,8 @@ RC_SBINLINKS= mark_service_starting mark_service_started \ mark_service_inactive mark_service_wasinactive \ mark_service_coldplugged mark_service_failed \ rc-abort +ALL_LINKS= ${BINLINKS} ${SBINLINKS} ${RC_BINLINKS} ${RC_SBINLINKS} +CLEANFILES+= ${ALL_LINKS} LDFLAGS+= -L../librc -L../libeinfo LDADD+= -lutil -lrc -leinfo @@ -66,7 +68,5 @@ install: all ${INSTALL} -m ${PAMMODE} start-stop-daemon.pam ${DESTDIR}${PAMDIR}/start-stop-daemon; \ fi -ALL_LINKS = $(BINLINKS) $(SBINLINKS) $(RC_BINLINKS) $(RC_SBINLINKS) -CLEANFILES += $(ALL_LINKS) links: rc - for l in $(ALL_LINKS) ; do ln -sf rc $$l || exit $$? ; done + for l in ${ALL_LINKS}; do ln -sf rc $$l || exit $$? ; done -- cgit v1.2.3