chiark / gitweb /
@@ -5,6 +5,7 @@
authorianmdlvl <ianmdlvl>
Sun, 7 Oct 2001 23:42:33 +0000 (23:42 +0000)
committerianmdlvl <ianmdlvl>
Sun, 7 Oct 2001 23:42:33 +0000 (23:42 +0000)
   Significant changes since merge chiark/anarres/mnemeth:
+  * example config files from Relativity shipped.

34 files changed:
backup/Makefile
backup/examples/relativity/expected-diffs [moved from backup/expected-diffs with 100% similarity]
backup/examples/relativity/fsys.all [moved from backup/fsys.all with 100% similarity]
backup/examples/relativity/fsys.pt0 [moved from backup/fsys.pt0 with 100% similarity]
backup/examples/relativity/fsys.pt1 [moved from backup/fsys.pt1 with 100% similarity]
backup/examples/relativity/fsys.pt2 [moved from backup/fsys.pt2 with 100% similarity]
backup/examples/relativity/ifsys.prefixes [moved from backup/ifsys.prefixes with 100% similarity]
backup/examples/relativity/ifsys.pt0 [moved from backup/ifsys.pt0 with 100% similarity]
backup/examples/relativity/ifsys.pt1 [moved from backup/ifsys.pt1 with 100% similarity]
backup/examples/relativity/ifsys.pt2 [moved from backup/ifsys.pt2 with 100% similarity]
backup/examples/relativity/settings.pl [moved from backup/settings.pl with 100% similarity]
backup/examples/relativity/tape.ks [moved from backup/tape.ks with 100% similarity]
backup/examples/relativity/tape.kt [moved from backup/tape.kt with 100% similarity]
backup/examples/relativity/tape.s0 [moved from backup/tape.s0 with 100% similarity]
backup/examples/relativity/tape.s1 [moved from backup/tape.s1 with 100% similarity]
backup/examples/relativity/tape.s2 [moved from backup/tape.s2 with 100% similarity]
backup/examples/relativity/tape.t0 [moved from backup/tape.t0 with 100% similarity]
backup/examples/relativity/tape.t1 [moved from backup/tape.t1 with 100% similarity]
backup/examples/relativity/tape.t2 [moved from backup/tape.t2 with 100% similarity]
backup/examples/relativity/tape.u0 [moved from backup/tape.u0 with 100% similarity]
backup/examples/relativity/tape.u1 [moved from backup/tape.u1 with 100% similarity]
backup/examples/relativity/tape.u2 [moved from backup/tape.u2 with 100% similarity]
backup/examples/relativity/tape.v0 [moved from backup/tape.v0 with 100% similarity]
backup/examples/relativity/tape.v1 [moved from backup/tape.v1 with 100% similarity]
backup/examples/relativity/tape.v2 [moved from backup/tape.v2 with 100% similarity]
backup/examples/relativity/warnings. [moved from backup/warnings. with 100% similarity]
backup/examples/relativity/warnings.now [moved from backup/warnings.now with 100% similarity]
backup/examples/relativity/warnings.soon [moved from backup/warnings.soon with 100% similarity]
backup/ifsys.end [deleted file]
backup/increm-advance [deleted file]
backup/last-tape [deleted file]
backup/next-full [deleted file]
debian/changelog
debian/rules

index ded6a8c..4d7a9e2 100644 (file)
@@ -35,6 +35,8 @@ prefix=/usr/local
 etcdir=/etc/chiark-backup
 bindir=$(prefix)/bin
 sharedir=$(prefix)/share/chiark-backup
+txtdocdir=$(prefix)/share/doc/chiark-backup/examples
+exampledir=$(txtdocdir)/examples
 
 INSTALL=               install -c
 INSTALL_SHARE=         $(INSTALL) -m 644 -o root -g root
@@ -47,6 +49,8 @@ BINSCRIPTS=   checkallused loaded driver takedown whatsthis
 SHARESCRIPTS=  bringup full increm
 SHAREFILES=    backuplib.pl
 
+EXAMPLES=      relativity
+
 all:           $(CTARGETS)
 
 readbuffer:                            readbuffer.o rwbuffer.o
@@ -61,6 +65,13 @@ install:             all
                $(INSTALL_SHARE) $(SHAREFILES) $(sharedir)
                $(INSTALL_SCRIPT) $(SHARESCRIPTS) $(sharedir)
 
+install-examples:
+               set -e; for e in $(EXAMPLES); do \
+                       cd examples/$$e; \
+                       $(INSTALL_DIRECTORY) $(exampledir)/$$e; \
+                       $(INSTALL_SHARE) *[^S~] $(exampledir)/$$e; \
+               done
+
 clean:
                rm -f *~ ./#*# *.o
 
diff --git a/backup/ifsys.end b/backup/ifsys.end
deleted file mode 100644 (file)
index 7f2d065..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-
-end
diff --git a/backup/increm-advance b/backup/increm-advance
deleted file mode 100644 (file)
index 4099407..0000000
+++ /dev/null
@@ -1 +0,0 @@
-23
diff --git a/backup/last-tape b/backup/last-tape
deleted file mode 100644 (file)
index 8c1384d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-v2
diff --git a/backup/next-full b/backup/next-full
deleted file mode 100644 (file)
index 5abb5bb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-s0
index 11df0c1..a0cb1c2 100644 (file)
@@ -5,6 +5,7 @@ chiark-utils (0.99.0-1) experimental; urgency=low
   Significant changes since merge chiark/anarres/mnemeth:
   * readbuffer/writebuffer command line arg for buffer size.
   * readbuffer/writebuffer share common code.
+  * example config files from Relativity shipped.
 
  --
 
index 86b50e1..457d144 100755 (executable)
@@ -37,7 +37,7 @@ binary-prep:
                gzip -9v $t/$$p/usr/share/doc/$$p/changelog; \
                done
        #
-       $(MAKE) -C backup install \
+       $(MAKE) -C backup install install-examples \
                prefix=$t/chiark-backup/usr \
                etcdir=$t/chiark-backup/etc
        #