aboutsummaryrefslogtreecommitdiff
path: root/rcynic
diff options
context:
space:
mode:
Diffstat (limited to 'rcynic')
-rw-r--r--rcynic/Makefile.in3
-rw-r--r--rcynic/installation-scripts/manifest.sh23
2 files changed, 26 insertions, 0 deletions
diff --git a/rcynic/Makefile.in b/rcynic/Makefile.in
index 0370f33a..bbcc587a 100644
--- a/rcynic/Makefile.in
+++ b/rcynic/Makefile.in
@@ -57,6 +57,9 @@ install: ${BIN} installation-scripts/install.sh
uninstall deinstall:
cd installation-scripts; host_os="${host_os}"; DESTDIR="${DESTDIR}"; . ./deinstall.sh
+installation-manifest:
+ cd installation-scripts; host_os="${host_os}"; abs_top_builddir="${abs_top_builddir}"; . ./manifest.sh
+
distclean: clean
cd static-rsync; ${MAKE} $@
rm -f installation-scripts/linux/install.sh Makefile
diff --git a/rcynic/installation-scripts/manifest.sh b/rcynic/installation-scripts/manifest.sh
new file mode 100644
index 00000000..26872b1a
--- /dev/null
+++ b/rcynic/installation-scripts/manifest.sh
@@ -0,0 +1,23 @@
+#!/bin/sh -
+# $Id$
+
+echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%
+echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/bin
+echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/dev
+echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/etc
+echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/etc/trust-anchors
+echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/var
+echo >>${abs_top_builddir}/installation-manifest D %%RCYNICJAILDIR%%/data
+
+echo >>${abs_top_builddir}/installation-manifest F %%RCYNICJAILDIR%%/bin/rcynic
+echo >>${abs_top_builddir}/installation-manifest F %%RCYNICJAILDIR%%/bin/rsync
+echo >>${abs_top_builddir}/installation-manifest F %%RCYNICJAILDIR%%/bin/rcynic-html
+
+# Not sure what to do about %%RCYNICJAILDIR%%/${libdir}/* on Linux, as we
+# don't know what goes there until we compute the transitive closure
+# of ldd dependencies. Ick. Ignore for now.
+
+case "${host_os}" in
+freebsd*) echo >>${abs_top_builddir}/installation-manifest F %%RCDIR%%/rcynic;;
+darwin*) echo >>${abs_top_builddir}/installation-manifest F /Library/StartupItems/RCynic;;
+esac