summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-06-24 23:31:22 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:20 -0600
commit2a020d78f993f6834a7482f757d524d5a95afb2f (patch)
treeb748d59242e60ea3dc8b3e1606b0bddda99ce0b5
parentf2112762334c10820436394aa109e71f63cf68b8 (diff)
commit changes that have been sitting there for years, being copied from drive to drive
-rw-r--r--config3
-rw-r--r--plugins/Makefile.in90
-rw-r--r--plugins/comments/Makefile.in90
-rw-r--r--plugins/comments/bin/Makefile.in90
-rw-r--r--plugins/comments/dep2
-rw-r--r--plugins/comments/info.mk.in2
-rw-r--r--plugins/date.author/Makefile.in90
-rw-r--r--plugins/date.author/bin/Makefile.in90
-rw-r--r--plugins/date.author/dep2
-rw-r--r--plugins/date.author/info.mk.in2
-rw-r--r--plugins/files/Makefile.in90
-rw-r--r--plugins/files/bin/Makefile.in90
-rw-r--r--plugins/files/dep0
-rw-r--r--plugins/files/etc/Makefile.in90
-rw-r--r--plugins/files/info.mk.in2
-rw-r--r--plugins/files/lib/Makefile.in90
-rw-r--r--plugins/plugin.mk.in13
-rw-r--r--plugins/tags/Makefile.in90
-rw-r--r--plugins/tags/bin/Makefile.in90
-rw-r--r--plugins/tags/dep2
-rw-r--r--plugins/tags/info.mk.in2
-rw-r--r--plugins/tree/Makefile.in90
-rw-r--r--plugins/tree/bin/Makefile.in90
-rw-r--r--plugins/tree/dep3
-rw-r--r--plugins/tree/info.mk.in2
-rw-r--r--plugins/users/Makefile.in90
-rw-r--r--plugins/users/bin/Makefile.in90
-rw-r--r--wrapper/Makefile.in90
-rw-r--r--wrapper/runcom.mk.in12
-rw-r--r--wrapper/rvs.sh33
30 files changed, 1470 insertions, 50 deletions
diff --git a/config b/config
index 10cd000..b1512ab 100644
--- a/config
+++ b/config
@@ -6,5 +6,6 @@
_TMPDIR='/tmp/rvs'
_LIBDIR='$(sysconfdir)/lib'
_ETCDIR='$(sysconfdir)/etc'
-vars="$vars name rvs RVS sysconfdir BINDIR TMPDIR LIBDIR ETCDIR"
+ _DEPDIR='$(sysconfdir)/dep'
+vars="$vars name rvs RVS sysconfdir BINDIR TMPDIR LIBDIR ETCDIR DEPDIR"
diff --git a/plugins/Makefile.in b/plugins/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/comments/Makefile.in b/plugins/comments/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/comments/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/comments/bin/Makefile.in b/plugins/comments/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/comments/bin/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/comments/dep b/plugins/comments/dep
new file mode 100644
index 0000000..a5bbb81
--- /dev/null
+++ b/plugins/comments/dep
@@ -0,0 +1,2 @@
+commit/comments :: commit/files
+
diff --git a/plugins/comments/info.mk.in b/plugins/comments/info.mk.in
index 144b832..ad2539d 100644
--- a/plugins/comments/info.mk.in
+++ b/plugins/comments/info.mk.in
@@ -1,5 +1,3 @@
name = comments
ver = 0.1
-priority = 1
-depends = >files
diff --git a/plugins/date.author/Makefile.in b/plugins/date.author/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/date.author/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/date.author/bin/Makefile.in b/plugins/date.author/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/date.author/bin/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/date.author/dep b/plugins/date.author/dep
new file mode 100644
index 0000000..3284d55
--- /dev/null
+++ b/plugins/date.author/dep
@@ -0,0 +1,2 @@
+commit/date.author :: commit/files
+
diff --git a/plugins/date.author/info.mk.in b/plugins/date.author/info.mk.in
index 66e8d1e..852203d 100644
--- a/plugins/date.author/info.mk.in
+++ b/plugins/date.author/info.mk.in
@@ -1,5 +1,3 @@
name = date.author
ver = 0.9
-priority = 4
-depends = >files author
diff --git a/plugins/files/Makefile.in b/plugins/files/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/files/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/files/bin/Makefile.in b/plugins/files/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/files/bin/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/files/dep b/plugins/files/dep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/plugins/files/dep
diff --git a/plugins/files/etc/Makefile.in b/plugins/files/etc/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/files/etc/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/files/info.mk.in b/plugins/files/info.mk.in
index fac7862..78a0580 100644
--- a/plugins/files/info.mk.in
+++ b/plugins/files/info.mk.in
@@ -1,5 +1,3 @@
name = files
ver = 0.9
-priority = 0
-depends =
diff --git a/plugins/files/lib/Makefile.in b/plugins/files/lib/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/files/lib/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/plugin.mk.in b/plugins/plugin.mk.in
index 250f03a..d631e4e 100644
--- a/plugins/plugin.mk.in
+++ b/plugins/plugin.mk.in
@@ -23,7 +23,8 @@ BINDIR = @BINDIR@
TMPDIR = @TMPDIR@
LIBDIR = @LIBDIR@
ETCDIR = @ETCDIR@
-dirs += $(sysconfdir) $(BINDIR) $(TMPDIR) $(LIBDIR) $(ETCDIR)
+DEPDIR = @DEPDIR@
+dirs += $(sysconfdir) $(BINDIR) $(TMPDIR) $(LIBDIR) $(ETCDIR) $(DEPDIR)
rvs = @rvs@
RVS = @RVS@
@@ -42,7 +43,7 @@ shSrcFiles = $(filter %.sh,$(srcFiles))
shOutFiles = $(patsubst $(srcdir)/%,%,$(basename $(shSrcFiles)))
outFiles = $(shOutFiles)
-outBin = $(addprefix bin-,$(notdir $(filter bin/%,$(outFiles))))
+outBin = $(addprefix $(BINDIR)/$(name)/,$(notdir $(filter bin/%,$(outFiles))))
outEtc = $(addprefix $(ETCDIR)/$(name)/,$(notdir $(filter etc/%,$(outFiles))))
outLib = $(addprefix $(LIBDIR)/$(name)/,$(notdir $(filter lib/%,$(outFiles))))
@@ -52,11 +53,9 @@ $(name) : $(myoutdir) $(shOutFiles)
install : $(outBin) $(outEtc) $(outLib)
-unbin-% : bin/%
- $(RVS) uninstall $(notdir $<) $(name)
-
-bin-% : bin/%
- $(RVS) install $< $(notdir $<) $(name) $(priority)
+$(outBin) : $(BINDIR)/$(name)/% : bin/%
+ $(MKDIR) $(dir $@)
+ $(INSTALL_PROGRAM) $< $@
$(outEtc) : $(ETCDIR)/$(name)/% : etc/%
$(MKDIR) $(dir $@)
diff --git a/plugins/tags/Makefile.in b/plugins/tags/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/tags/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/tags/bin/Makefile.in b/plugins/tags/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/tags/bin/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/tags/dep b/plugins/tags/dep
new file mode 100644
index 0000000..fd9e5f7
--- /dev/null
+++ b/plugins/tags/dep
@@ -0,0 +1,2 @@
+commit/tags :: commit/files
+
diff --git a/plugins/tags/info.mk.in b/plugins/tags/info.mk.in
index 9a6ba49..3f08f99 100644
--- a/plugins/tags/info.mk.in
+++ b/plugins/tags/info.mk.in
@@ -1,5 +1,3 @@
name = tags
ver = 0.1
-priority = 3
-depends = >files
diff --git a/plugins/tree/Makefile.in b/plugins/tree/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/tree/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/tree/bin/Makefile.in b/plugins/tree/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/tree/bin/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/tree/dep b/plugins/tree/dep
new file mode 100644
index 0000000..2485770
--- /dev/null
+++ b/plugins/tree/dep
@@ -0,0 +1,3 @@
+commit/tags :: commit/tree
+commit/tree :: commit/files
+
diff --git a/plugins/tree/info.mk.in b/plugins/tree/info.mk.in
index 095521f..b947f3d 100644
--- a/plugins/tree/info.mk.in
+++ b/plugins/tree/info.mk.in
@@ -1,5 +1,3 @@
name = tree
ver = 0.1
-priority = 2
-depends = >files <tags
diff --git a/plugins/users/Makefile.in b/plugins/users/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/users/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/plugins/users/bin/Makefile.in b/plugins/users/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/plugins/users/bin/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/wrapper/Makefile.in b/wrapper/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/wrapper/Makefile.in
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+#name = Luke's Makefile
+#ver = 1.0
+# Copyright (C) 2009 Luke Shumaker
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; see the file COPYING.
+# If not, see <http://www.gnu.org/licenses>.
+
+# Directories ########################################################
+DESTDIR = @DESTDIR@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+dirs = $(DESTDIR) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir)
+srcdir = @srcdir@
+VPATH = $(srcdir)
+
+# Programs ###########################################################
+SHELL = /bin/sh
+CC = gcc
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MKDIR = $(INSTALL) -d #mkdir -p
+RM = rm -f
+SED = sed
+
+include main.mk
+
+# dist ###############################################################
+d = $(name)-$(ver)
+.PHONY : dist
+dist : $(d).tar.gz
+
+$(d).tar.gz : $(d) $(addprefix $(d)/,$(filelist))
+ tar -czf $@ $<
+
+$(d) :
+ $(INSTALL) -m 777 -d $@
+
+$(d)/% : $(srcdir)/% $(d)
+ $(INSTALL) -m 777 -d $(dir $@)
+ cp $< $@
+
+# implicit rules #####################################################
+$(addprefix $(DESTDIR),$(dirs)) :
+ $(MKDIR) $@
+
+% : %.sh
+ $(SED) 's/@VER@/$(ver)/g' < $< > $@
+
+$(DESTDIR)$(bindir)/% : % $(DESTDIR)$(bindir)
+ $(INSTALL_PROGRAM) $< $@
+
+.PHONY : dist Makefiles
+
+csources = $(filter %.c,$(filelist))
+Makefiles : $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(shell find '$(srcdir)' -type f -name Makefile.in) \
+ $(csources:.c=.d)
+
+%Makefile %.mk : $(srcdir)/configure
+ $< @CONFIG@
+
+# This is taken straight from the GNU `make' manual.
+# That makes it GFDL, which is incompatible with the GPL
+# I claim `fair-use'
+%.d: %.c
+ @set -e; rm -f $@; \
+ $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+ rm -f $@.$$$$
+
+ifneq ($(shell ls -d $(csources:.c=.d) 2>/dev/null),)
+ include $(csources:.c=.d)
+endif
+
diff --git a/wrapper/runcom.mk.in b/wrapper/runcom.mk.in
new file mode 100644
index 0000000..55782f0
--- /dev/null
+++ b/wrapper/runcom.mk.in
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+FIND = $(patsubst $(1)/%,%,$(wildcard $(2)/*))
+
+COMMANDS = $(call FIND,$(BINDIR),$(BINDIR))
+$(COMMANDS): % : $(call FIND,$(BINDIR),$(BINDIR)/%)
+
+% ::
+ "$(BINDIR)/$@" $(ARGS)
+
+include $(wildcard $(DEPDIR)/*)
+
diff --git a/wrapper/rvs.sh b/wrapper/rvs.sh
index 101268f..19a8188 100644
--- a/wrapper/rvs.sh
+++ b/wrapper/rvs.sh
@@ -20,6 +20,7 @@ ver='0.9'
export RVS="$0" #RVS='@RVS@'
BINDIR='@BINDIR@'
+ DEPDIR='@DEPDIR@'
baseTMPDIR='@TMPDIR@'
export LIBDIR='@LIBDIR@'
export ETCDIR='@ETCDIR@'
@@ -131,38 +132,6 @@ _init() {
}
################################################################################
-# Builtin commands -- installing modules #
-################################################################################
-
-_install() {
- usage="usage: $RVS install FILE COMMAND ID [PRIORITY]"
- file=${1?"$usage"}
- command=${2?"$usage"}
- id=${3?"$usage"}
- priority=${4-"`_nextpriority "$command"`"}
-
- install -d "$BINDIR/$command"
- install "$file" "$BINDIR/$command/$priority-$id"
-}
-
-_uninstall() {
- usage="usage: $RVS uninstall COMMAND [ID]"
- command=${1?"$usage"}
- id=$2
-
- if [ -z "$id" ]; then
- # no ID specified
- rm "$BINDIR/$command"
- else
- # ID specified
- rm "$BINDIR/$command/"*-"$id"
- if [ -z "$(ls "$BINDIR/$command")" ]; then
- rmdir "$BINDIR/$command"
- fi
- fi
-}
-
-################################################################################
# Main #
################################################################################