"Fossies" - the Fresh Open Source Software Archive

Member "ark-20050419/arksf1/webpages/Makefile" (4 Aug 2004, 8201 Bytes) of package /linux/privat/old/ark-arksf1-20050419.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ################################################################
    2 # 
    3 # Copyright (c) 2001-2004, Will Partain
    4 # All rights reserved.
    5 # 
    6 # Redistribution and use in source and binary forms, with or
    7 # without modification, are permitted provided that the
    8 # following conditions are met:
    9 # 
   10 # * Redistributions of source code must retain the above
   11 #   copyright notice, this list of conditions and the
   12 #   following disclaimer. 
   13 # 
   14 # * Redistributions in binary form must reproduce the above
   15 #   copyright notice, this list of conditions and the
   16 #   following disclaimer in the documentation and/or other
   17 #   materials provided with the distribution.
   18 # 
   19 # * Neither the name of the Arusha Project nor the names of
   20 #   its contributors may be used to endorse or promote
   21 #   products derived from this software without specific prior
   22 #   written permission.
   23 # 
   24 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
   25 # CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
   26 # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
   27 # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   28 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
   29 # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   30 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   31 # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   32 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   33 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   34 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
   35 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
   36 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   37 # 
   38 ################################################################
   39 
   40 MAKE_WEBPAGES = PYTHONPATH=../../ARK/arkbase ../../sidai/webpage-utils/make-webpages --spec=arksf1.spec
   41 
   42 # alphabetical within groups, for lack of a better plan:
   43 PAGES =						\
   44     'arksf1:webpages/index.htma'		\
   45     '__'					\
   46     '== Ideas, etc.'				\
   47     'ARK:webpages/motivations.htma'		\
   48     'ARK:webpages/key-ideas.htma'		\
   49     'ARK:webpages/fundamentals.htma'		\
   50     'arksf1:webpages/coolness.htma'		\
   51     'ARK:webpages/ways-to-use.htma'		\
   52     'ARK:webpages/misconceptions.htma'		\
   53     'arksf1:webpages/sysadmin-history.htma'	\
   54     '__'					\
   55     '== Teams'					\
   56     '!ARK:webpages/index-ARK.htma'		\
   57     '!sidai:webpages/index-sidai.htma'		\
   58     'arksf1:webpages/other-teams.htma'		\
   59     'arksf1:webpages/user-guides.htma'		\
   60     '__'					\
   61     '== Admin, etc.'				\
   62     'arksf1:webpages/mailing-lists.htma'	\
   63     'arksf1:webpages/download.htma'		\
   64     'arksf1:webpages/bug-reports.htma'		\
   65     'arksf1:webpages/who-how.htma'		\
   66     'arksf1:webpages/why-arusha.htma'		\
   67     'ARK:webpages/papers-and-talks.htma'	\
   68     'ARK:webpages/references.htma'		\
   69     'ARK:webpages/related.htma'			\
   70     'arksf1:webpages/older-news.htma'		\
   71     'arksf1:webpages/ACKs.htma'			\
   72     'ARK:webpages/support.htma'			\
   73     'arksf1:webpages/license.htma'
   74 #   'arksf1:webpages/projects.htma'
   75 
   76 # ARK:ark-convert/ark1-to-ark2.htma not included
   77 PAGES_ARK =					\
   78     '!arksf1:webpages/index.htma'		\
   79     'ARK:webpages/index-ARK.htma'		\
   80     '__'					\
   81     '== How to..., etc.'			\
   82     'ARK:webpages/ark-objects.htma'		\
   83     'ARK:webpages/ark-conflang.htma'		\
   84     'ARK:webpages/pkg-mgmt.htma'		\
   85     'ARK:webpages/ark-tool.htma'		\
   86     'ARK:webpages/ark-site-gen.htma'		\
   87     '__'					\
   88     '== Design, etc.'				\
   89     'ARK:webpages/field-invoke.htma'		\
   90     'ARK:webpages/code-grok.htma'		\
   91     'ARK:webpages/problems.htma'		\
   92     'ARK:webpages/ideas.htma'			\
   93     '__'					\
   94     '== Admin, etc.'				\
   95     'ARK:webpages/glossary.htma'		\
   96     'ARK:webpages/technologies.htma'		\
   97     'ARK:webpages/conventions.htma'
   98 
   99 PAGES_SIDAI_main =				\
  100     '!arksf1:webpages/index.htma'		\
  101     'sidai:webpages/index-sidai.htma'		\
  102     '__'					\
  103     '== Ideas, etc.'				\
  104     'sidai:webpages/multiplatformism.htma'	\
  105     'sidai:webpages/namespaces.htma'		\
  106     'sidai:webpages/sourceism.htma'		\
  107     '__'					\
  108     '== Design, etc.'				\
  109     'sidai:webpages/sidai-ark-strategy.htma'	\
  110     'sidai:webpages/blessed-names.htma'		\
  111     'sidai:webpages/dchunks.htma'		\
  112     'sidai:webpages/security-model.htma'	\
  113     'sidai:webpages/scm.htma'			\
  114     '__'					\
  115     '== Tools'					\
  116     'sidai:webpages/tools.htma'			\
  117     'sidai:webpages/ark-templates.htma'		\
  118     'sidai:webpages/sidai-pkg-mgmt.htma'	\
  119     'sidai:webpages/sidai-config-pkgs.htma'	\
  120     'sidai:webpages/sidai-proto-pkgs.htma'	\
  121     'sidai:webpages/sidai-host-mgmt.htma'	\
  122     'sidai:webpages/sidai-user-mgmt.htma'	\
  123     'sidai:webpages/sidai-maillist-mgmt.htma'	\
  124     '__'					\
  125     '== See also:'				\
  126     '!sidai:webpages/index-sidai-howto.htma'	\
  127     '!sidai:webpages/index-sidai-culture.htma'
  128 
  129 PAGES_SIDAI_culture =				\
  130     '!arksf1:webpages/index.htma'		\
  131     '!sidai:webpages/index-sidai.htma'		\
  132     'sidai:webpages/index-sidai-culture.htma'	\
  133     '__'					\
  134     '== Culture'				\
  135     'sidai:webpages/ark-mail-protocol.htma'	\
  136     '__'					\
  137     '== Opinion'				\
  138     'sidai:webpages/why-unix.htma'		\
  139     'sidai:webpages/art-of-it.htma'		\
  140     'sidai:webpages/innovation-to-ARK.htma'
  141 
  142 PAGES_SIDAI_howto =				\
  143     '!arksf1:webpages/index.htma'		\
  144     '!sidai:webpages/index-sidai.htma'		\
  145     'sidai:webpages/index-sidai-howto.htma'	\
  146     '__'					\
  147     '== How to..., etc.'			\
  148     'sidai:webpages/sidai-user-setup.htma'	\
  149     'sidai:webpages/disk-config.htma'		\
  150     'sidai:webpages/os-installs.htma'		\
  151     'sidai:webpages/hpux11-install.htma'	\
  152     'sidai:webpages/solaris-install.htma'	\
  153     'sidai:webpages/rhlinux-install.htma'	\
  154     'sidai:webpages/post-os-install.htma'	\
  155     'sidai:webpages/save-before-reinstall.htma'	\
  156     'sidai:webpages/ark-boot.htma'		\
  157     'sidai:webpages/user-accounts-mgmt.htma'	\
  158     'sidai:webpages/compiling-and-linking.htma'	\
  159     'sidai:webpages/password-dist.htma'		\
  160     'sidai:webpages/sidai-pkg-proto-hosts.htma'	\
  161     'sidai:webpages/logfile-mgmt.htma'		\
  162     'sidai:webpages/log-analysis.htma'		\
  163     'sidai:webpages/scripting.htma'		\
  164     'sidai:webpages/vwrapper.htma'		\
  165     'sidai:webpages/toolenv.htma'		\
  166     'sidai:webpages/backups-planning.htma'	\
  167     'sidai:webpages/tapeless-backups-rationale.htma'	\
  168     'sidai:webpages/tapeless-backups-design.htma'	\
  169     'sidai:webpages/hostname-change.htma'	\
  170     'sidai:webpages/magic-keystrokes.htma'	\
  171     'sidai:webpages/booting-tricks.htma'	\
  172     'sidai:webpages/dead-machine.htma'		\
  173     'sidai:webpages/root-passwd.htma'		\
  174     'sidai:webpages/removable-media.htma'	\
  175     'sidai:webpages/clearcase-install.htma'	\
  176     'sidai:webpages/clearcase-admin.htma'	\
  177     'sidai:webpages/lvm-tricks.htma'		\
  178     'sidai:webpages/hp-mirror-ux.htma'		\
  179     'sidai:webpages/mailman-notes.htma'		\
  180     'sidai:webpages/vnc.htma'
  181 
  182 
  183 PAGES_SIMPLE1 =					\
  184     '!arksf1:webpages/index.htma'		\
  185     'simple1:webpages/index-simple1.htma'
  186 
  187 PAGES_SAMPLE1 =					\
  188     '!arksf1:webpages/index.htma'		\
  189     'sample1:webpages/index-sample1.htma'	\
  190     'sample1:webpages/try-ark1.htma'
  191 
  192 # LATER?
  193 #PAGES_SAMPLE2 =				\
  194 #    '!arksf1:webpages/index.htma'		\
  195 #    'sample2:webpages/index-sample2.htma'	\
  196 #    'sample2:webpages/try-ark2.htma'
  197 
  198 all :
  199 	/bin/rm -f *.html
  200 	$(MAKE_WEBPAGES) $(PAGES)
  201 	$(MAKE_WEBPAGES) $(PAGES_ARK)
  202 	$(MAKE_WEBPAGES) $(PAGES_SIDAI_main)
  203 	$(MAKE_WEBPAGES) $(PAGES_SIDAI_culture)
  204 	$(MAKE_WEBPAGES) $(PAGES_SIDAI_howto)
  205 	$(MAKE_WEBPAGES) $(PAGES_SIMPLE1)
  206 	$(MAKE_WEBPAGES) $(PAGES_SAMPLE1)
  207 
  208 #	$(MAKE_WEBPAGES) $(PAGES_SAMPLE2)
  209 
  210 # hope you have a nice weblint (http://www.weblint.org/):
  211 check:
  212 	html-validate *.html
  213 
  214 check-weblint :
  215 	weblint *.html
  216 
  217 # NB: not really useful (yet?)
  218 check3 :
  219 	tidy -e -config tidy.config *.html
  220 
  221 # NB: can be very slow because of timeouts
  222 CHECKLINKS = $(HOME)/t/cl-1.0.1.pl -DDOCUMENT_ROOT=`pwd` 
  223 # HTTP_PROXY :=	http_proxy=http://wwwcache.gla.ac.uk:8080/  no_proxy=gla.ac.uk
  224 check2 :
  225 	$(CHECKLINKS) -f *.html
  226 	$(HTTP_PROXY) $(CHECKLINKS) *.html
  227 
  228 clean :
  229 	/bin/rm -f *.html
  230 
  231 # sourceforge ftp:
  232 # /home/groups/ftp/pub/ark
  233 
  234 # once web pages built on sourceforge, use this to put this in place:
  235 WEBDIR=/home/groups/a/ar/ark/htdocs
  236 sourceforge-dist :
  237 	cd $(WEBDIR) && /bin/rm -f *.html
  238 	tar cf - *.html | ( cd $(WEBDIR) && tar xf - )
  239