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
commit206e003ca6f5b2500976f04a0dbb0b8a167fb3bf (patch)
treeca2cc3db54078bdd13037ab623b0103c098466d8
parent662ea51a86049853c0a8e279e5b515b80d5123d8 (diff)
commit changes that have been sitting there for years, being copied from drive to drive
-rw-r--r--rvs/config3
-rw-r--r--rvs/plugins/Makefile.in90
-rw-r--r--rvs/plugins/comments/Makefile.in90
-rw-r--r--rvs/plugins/comments/bin/Makefile.in90
-rw-r--r--rvs/plugins/comments/dep2
-rw-r--r--rvs/plugins/comments/info.mk.in2
-rw-r--r--rvs/plugins/date.author/Makefile.in90
-rw-r--r--rvs/plugins/date.author/bin/Makefile.in90
-rw-r--r--rvs/plugins/date.author/dep2
-rw-r--r--rvs/plugins/date.author/info.mk.in2
-rw-r--r--rvs/plugins/files/Makefile.in90
-rw-r--r--rvs/plugins/files/bin/Makefile.in90
-rw-r--r--rvs/plugins/files/dep0
-rw-r--r--rvs/plugins/files/etc/Makefile.in90
-rw-r--r--rvs/plugins/files/info.mk.in2
-rw-r--r--rvs/plugins/files/lib/Makefile.in90
-rw-r--r--rvs/plugins/plugin.mk.in13
-rw-r--r--rvs/plugins/tags/Makefile.in90
-rw-r--r--rvs/plugins/tags/bin/Makefile.in90
-rw-r--r--rvs/plugins/tags/dep2
-rw-r--r--rvs/plugins/tags/info.mk.in2
-rw-r--r--rvs/plugins/tree/Makefile.in90
-rw-r--r--rvs/plugins/tree/bin/Makefile.in90
-rw-r--r--rvs/plugins/tree/dep3
-rw-r--r--rvs/plugins/tree/info.mk.in2
-rw-r--r--rvs/plugins/users/Makefile.in90
-rw-r--r--rvs/plugins/users/bin/Makefile.in90
-rw-r--r--rvs/wrapper/Makefile.in90
-rw-r--r--rvs/wrapper/runcom.mk.in12
-rw-r--r--rvs/wrapper/rvs.sh33
30 files changed, 1470 insertions, 50 deletions
diff --git a/rvs/config b/rvs/config
index 10cd000..b1512ab 100644
--- a/rvs/config
+++ b/rvs/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/rvs/plugins/Makefile.in b/rvs/plugins/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/comments/Makefile.in b/rvs/plugins/comments/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/comments/bin/Makefile.in b/rvs/plugins/comments/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/comments/dep b/rvs/plugins/comments/dep
new file mode 100644
index 0000000..a5bbb81
--- /dev/null
+++ b/rvs/plugins/comments/dep
@@ -0,0 +1,2 @@
+commit/comments :: commit/files
+
diff --git a/rvs/plugins/comments/info.mk.in b/rvs/plugins/comments/info.mk.in
index 144b832..ad2539d 100644
--- a/rvs/plugins/comments/info.mk.in
+++ b/rvs/plugins/comments/info.mk.in
@@ -1,5 +1,3 @@
name = comments
ver = 0.1
-priority = 1
-depends = >files
diff --git a/rvs/plugins/date.author/Makefile.in b/rvs/plugins/date.author/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/date.author/bin/Makefile.in b/rvs/plugins/date.author/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/date.author/dep b/rvs/plugins/date.author/dep
new file mode 100644
index 0000000..3284d55
--- /dev/null
+++ b/rvs/plugins/date.author/dep
@@ -0,0 +1,2 @@
+commit/date.author :: commit/files
+
diff --git a/rvs/plugins/date.author/info.mk.in b/rvs/plugins/date.author/info.mk.in
index 66e8d1e..852203d 100644
--- a/rvs/plugins/date.author/info.mk.in
+++ b/rvs/plugins/date.author/info.mk.in
@@ -1,5 +1,3 @@
name = date.author
ver = 0.9
-priority = 4
-depends = >files author
diff --git a/rvs/plugins/files/Makefile.in b/rvs/plugins/files/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/files/bin/Makefile.in b/rvs/plugins/files/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/files/dep b/rvs/plugins/files/dep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/rvs/plugins/files/dep
diff --git a/rvs/plugins/files/etc/Makefile.in b/rvs/plugins/files/etc/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/files/info.mk.in b/rvs/plugins/files/info.mk.in
index fac7862..78a0580 100644
--- a/rvs/plugins/files/info.mk.in
+++ b/rvs/plugins/files/info.mk.in
@@ -1,5 +1,3 @@
name = files
ver = 0.9
-priority = 0
-depends =
diff --git a/rvs/plugins/files/lib/Makefile.in b/rvs/plugins/files/lib/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/plugin.mk.in b/rvs/plugins/plugin.mk.in
index 250f03a..d631e4e 100644
--- a/rvs/plugins/plugin.mk.in
+++ b/rvs/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/rvs/plugins/tags/Makefile.in b/rvs/plugins/tags/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/tags/bin/Makefile.in b/rvs/plugins/tags/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/tags/dep b/rvs/plugins/tags/dep
new file mode 100644
index 0000000..fd9e5f7
--- /dev/null
+++ b/rvs/plugins/tags/dep
@@ -0,0 +1,2 @@
+commit/tags :: commit/files
+
diff --git a/rvs/plugins/tags/info.mk.in b/rvs/plugins/tags/info.mk.in
index 9a6ba49..3f08f99 100644
--- a/rvs/plugins/tags/info.mk.in
+++ b/rvs/plugins/tags/info.mk.in
@@ -1,5 +1,3 @@
name = tags
ver = 0.1
-priority = 3
-depends = >files
diff --git a/rvs/plugins/tree/Makefile.in b/rvs/plugins/tree/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/tree/bin/Makefile.in b/rvs/plugins/tree/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/tree/dep b/rvs/plugins/tree/dep
new file mode 100644
index 0000000..2485770
--- /dev/null
+++ b/rvs/plugins/tree/dep
@@ -0,0 +1,3 @@
+commit/tags :: commit/tree
+commit/tree :: commit/files
+
diff --git a/rvs/plugins/tree/info.mk.in b/rvs/plugins/tree/info.mk.in
index 095521f..b947f3d 100644
--- a/rvs/plugins/tree/info.mk.in
+++ b/rvs/plugins/tree/info.mk.in
@@ -1,5 +1,3 @@
name = tree
ver = 0.1
-priority = 2
-depends = >files <tags
diff --git a/rvs/plugins/users/Makefile.in b/rvs/plugins/users/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/plugins/users/bin/Makefile.in b/rvs/plugins/users/bin/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/wrapper/Makefile.in b/rvs/wrapper/Makefile.in
new file mode 100644
index 0000000..cfe9772
--- /dev/null
+++ b/rvs/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/rvs/wrapper/runcom.mk.in b/rvs/wrapper/runcom.mk.in
new file mode 100644
index 0000000..55782f0
--- /dev/null
+++ b/rvs/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/rvs/wrapper/rvs.sh b/rvs/wrapper/rvs.sh
index 101268f..19a8188 100644
--- a/rvs/wrapper/rvs.sh
+++ b/rvs/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 #
################################################################################