3 * $Id: sw_links.h,v 1.2 2004/04/08 01:52:19 mdw Exp $
5 * Messing with symlink trees
10 /*----- Licensing notice --------------------------------------------------*
12 * This file is part of sw-tools.
14 * sw-tools is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * sw-tools is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with sw-tools; if not, write to the Free Software Foundation,
26 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
36 /*----- Header files ------------------------------------------------------*/
42 /*----- Subcommands -------------------------------------------------------*/
44 extern int sw_link(int /*argc*/, char */*argv*/[]);
45 extern int sw_snap(int /*argc*/, char */*argv*/[]);
48 static cmd cmd_snap = {
49 CMD_LINK, "snaplink", sw_snap,
51 Turns links in link trees into real separate files. Each file\n\
52 listed becomes a regular file in each of the architecture symlink\n\
53 trees. Also works even if the trees aren't there, to propagate\n\
54 files. Honours the `--arch' build flag, and the `only-arch'\n\
57 static cmd cmd_link = {
58 &cmd_snap, "linktree", sw_link,
60 Creates a symbolic link tree mirroring the current directory and\n\
61 its subdirectories for each architecture which should be built.\n\
62 Honours the `--arch' build flag, and the `only-arch' settings.\n"
65 # define CMD_LINK &cmd_link
68 /*----- That's all, folks -------------------------------------------------*/