diff --git a/GNUmakefile b/GNUmakefile index 1205def..06bdd2f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -5,11 +5,39 @@ SRCROOT = . WEB_HOME_BASE = SUBPROJECTS = refs refs.aug96 +DYNAMIC_TARGETS = $(WEB_HOME)/head.html \ + $(WEB_HOME)/tail.html \ + $(WEB_HOME)/index.html \ + $(WEB_HOME)/refs.html \ + $(WEB_HOME)/oldnews.html + +STATIC_TARGETS = + +TARGETS = $(STATIC_TARGETS) $(DYNAMIC_TARGETS) + + + include $(SRCROOT)/etc/const-priv.mk include $(SRCROOT)/etc/const.mk -include $(SRCROOT)/etc/const-local.mk +# Set these ones AFTER const.mk gets included: +FIX_WEB_HOME_PERMS = no + + include $(SRCROOT)/etc/rules.mk clobber:: /bin/rm -rf $(OUTPUT_DIR) + +# We do a straight copy on these ones. +$(WEB_HOME)/%.html: %.html + install -m644 $< $@ + +finalWebHomePerms:: + @if [ -n "$(STATIC_TARGETS)" ]; then \ + chmod 0644 $(STATIC_TARGETS); \ + fi + @if [ -n "$(DYNAMIC_TARGETS)" ]; then \ + chmod 0754 $(DYNAMIC_TARGETS); \ + fi diff --git a/README b/README index 4e957b4..ac3036c 100644 --- a/README +++ b/README @@ -18,6 +18,7 @@ README - This file. README.build - Detailed build instructions. etc - These are configuration files for the document build. See README.build for details. +*.html - Top level web pages refs/intro - Introduction and Installation Manual refs/kernel - GNO Kernel Reference Manual refs/gsh - GNO Shell Reference Manual diff --git a/etc/const.mk b/etc/const.mk index b663976..2d69074 100644 --- a/etc/const.mk +++ b/etc/const.mk @@ -63,5 +63,11 @@ BUILD_FILES = GNUmakefile $(HEAD_PAGE) $(TAIL_PAGE) \ $(SRCROOT)/etc/rules.mk \ $(SRCROOT)/etc/tailcat.mk +# If you set this to "no" then there will be no attempt to do a final +# fix-up of permissions to make files 0644 and directories 0755. If +# you disable it in the local makefile, then ensure that you are setting +# appropriate permissions locally. +FIX_WEB_HOME_PERMS = yes + # This is where the files will eventually wind up. TARGET_DIR = $(GNO_PUBLIC_HTML)/$(WEB_HOME_BASE) diff --git a/etc/rules.mk b/etc/rules.mk index 1e03746..45bb04a 100644 --- a/etc/rules.mk +++ b/etc/rules.mk @@ -2,7 +2,7 @@ # $Id: rules.mk,v 1.1 2012/08/26 02:27:36 gdr Exp $ # -build: buildLocal $(TARGETS) webHomePerms $(BUILD_FILES) +build: buildLocal $(TARGETS) webHomePerms $(BUILD_FILES) finalWebHomePerms @for s in X $(SUBPROJECTS); do \ [ "$$s" = X ] && continue; \ [ -d "$$s" ] || continue; \ @@ -25,18 +25,24 @@ webHomePerms: echo "WEB_HOME not set"; \ exit 1; \ fi; \ - find $(WEB_HOME) -type d \! -perm 0755 -exec chmod 0755 {} \; ; \ - find $(WEB_HOME) -type f \! -perm 0644 -exec chmod 644 {} \; + if [ "$(FIX_WEB_HOME_PERMS)" = "yes" ]; then \ + find $(WEB_HOME) -type d \! -perm 0755 -exec chmod 0755 {} \; ; \ + find $(WEB_HOME) -type f \! -perm 0644 -exec chmod 644 {} \; ; \ + fi -install:: +finalWebHomePerms:: + +install:: build @/bin/rm -rf $(TARGET_DIR) install -d -m755 $(TARGET_DIR) @echo "copying files to $(TARGET_DIR)"; \ cd $(WEB_HOME); tar -cf - . | \ (cd $(TARGET_DIR); tar -xpBf -); - @echo "setting permissions on $(TARGET_DIR)"; \ - find $(TARGET_DIR) -type d \! -perm 0755 -exec chmod 0755 {} \; ; \ - find $(TARGET_DIR) -type f \! -perm 0644 -exec chmod 644 {} \; + chmod 0755 $(TARGET_DIR) + +# @echo "setting permissions on $(TARGET_DIR)"; \ +# find $(TARGET_DIR) -type d \! -perm 0755 -exec chmod 0755 {} \; ; \ +# find $(TARGET_DIR) -type f \! -perm 0644 -exec chmod 644 {} \; clean:: /bin/rm -f *~ diff --git a/head.html b/head.html new file mode 100644 index 0000000..efbef25 --- /dev/null +++ b/head.html @@ -0,0 +1,31 @@ + + +
+
+ ">GNO Consortium |
+ /gno2">GNO/ME for the Apple IIgs
+
+ /gno2/download.html">Download |
+ /gno2/faqindex.html">FAQ |
+ /gno2/refs.html">Reference Manuals |
+ /gno2/manindex.html">Manual Pages |
+ /gno2/bugs.html">Reporting Bugs
+
+GNO is a UNIX-like software package for the Apple IIgs, which +runs on top of the native operating system, GS/OS. +
+ + ++ GNO sources are now available via GitHub. See the + Download page for details. + Also, the + gno-commits + mailing list has been set up for anyone who wants to get commit + notifications. +
+ ++ The broken links to the reference manuals have been fixed. +
+ ++ Older entries may be found here. +
+ ++The following are old news items. In some cases, minor edits have +been made, such as the updating of various URLs. +
+ ++ Between my young family, work, and other projects I'm afraid that GNO + has not been updated in a while. I'd like to return to it, but I don't + know when that will be. +
+ ++ Meanwhile, this site isn't going anywhere and + the software and source will remain available. +
+ +
+ The Gsh Users' Guide is now available for download or online viewing.
+ It is not yet updated for gsh v2.0.
+ See the Reference Manuals
+ page for details.
+
+ GNO v2.0.6 is (finally) available. This is a full release and the + current documentation and scripts assume that you are not + installing on top of an existing system. + Ensure that you read the chapter on installing v2.0.6 in the + Overview and Installation Reference. +
+ ++ Edit: + You can obtain the current release via + Please see the download page for information + on obtaining GNO. +
+ ++ If you find any problems or have any suggestions, please + report them. +
+ ++ The current release does not include networking support. +
+ + ++These documents are based on Procyon's August 1996 v2.0.4 documents, but have +been updated and enhanced. +Please also examine the +FAQ +and the man pages. +
+ + ++ This document contains introductory information (including how + to obtain GNO), installation instructions, a list of hardware + requirements, suggested readings, and similar material. It is + a good starting point for those new to GNO. +
+ ++ Formats: + HTML, + PostScript (Letter, + A4), + and + PDF (Letter, + A4). +
+ ++ This is the reference manual for the GNO Shell, otherwise known + as gsh. This document is laid out more as a tutorial than + a traditional reference manual. +
+ + + ++ This is a technical introduction and reference to the GNO Kernel, + which is the heart of the GNO system. Some portions may be heavy + reading for the new user, but is a must for the application programmer. +
+ ++ Formats: + HTML, + PostScript (Letter, + A4), + and + PDF (Letter, + A4). +
+ +
+
+Version 2.0.4 Manuals+ ++For the historically inclined, an HTML version of the version 2.0.4 +manuals is also available from August 1996: + +
|
+ + | + +
+
+ Maintainer:
+ /~gdr">Devin Reade
+ |
+
+ + + | +