diff options
author | Rob Austein <sra@hactrn.net> | 2012-12-20 18:25:05 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-12-20 18:25:05 +0000 |
commit | a2b3951f39aca9c210ef564e931e2290296dce72 (patch) | |
tree | efc49ecd264ced542d9ddf0d2e4a33b2543c8cf2 /rcynic/installation-scripts/manifest.sh | |
parent | 78e94ec122deb64e74860833be736b2999a0fcc3 (diff) |
Add "make instalation-manifest" as a first cut at something that will
automate construction of things like the pkg-plist for a FreeBSD port.
This is a fairly nasty kludge, but we're kind of trapped at the
intersection of two different build systems (autoconf and disttools)
and a laundry list of platform-specific packaging systems, so anything
we do here is likely to be nasty, and almost anything is better than
trying to maintain packing lists for all those systems by hand.
svn path=/trunk/; revision=4938
Diffstat (limited to 'rcynic/installation-scripts/manifest.sh')
-rw-r--r-- | rcynic/installation-scripts/manifest.sh | 23 |
1 files changed, 23 insertions, 0 deletions
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 |