mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-04-20 10:37:52 +00:00
Makefile:
nulib is dumping an extraneous "-^H" to stdout, so dump stdout to /dev/null mkgen, mkindex, view.html: added "productivity" as a category mkindex: added a concheck for .index.src entries that aren't using the describe(1) info
This commit is contained in:
parent
efe58b60ff
commit
bd2d8af56a
3
doc/describe/.cvsignore
Normal file
3
doc/describe/.cvsignore
Normal file
@ -0,0 +1,3 @@
|
||||
xref.db
|
||||
README.src
|
||||
tmp
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: Makefile,v 1.6 1999/01/29 07:03:56 gdr-ftp Exp $
|
||||
# $Id: Makefile,v 1.7 1999/07/03 16:55:41 gdr-ftp Exp $
|
||||
#
|
||||
# Devin Reade, January 1998
|
||||
#
|
||||
@ -72,6 +72,8 @@ MODE_X = -m775
|
||||
$(RELDIR)/$(RELEASE_README): $(README_OUT)
|
||||
install $(OWNER) $(MODE_F) $(README_OUT) $@
|
||||
|
||||
# We redirect nulib stdout to /dev/null because for some reason
|
||||
# it's printing out a "-^H".
|
||||
$(RELDIR)/$(RELEASE_SRC): $(DB_SRC)
|
||||
@echo "installing $@"; \
|
||||
cp $(DB_SRC) $(TDIR); \
|
||||
@ -79,9 +81,11 @@ $(RELDIR)/$(RELEASE_SRC): $(DB_SRC)
|
||||
rm -f $@; \
|
||||
cd $(TDIR); \
|
||||
rm -f $(RELEASE_SRC); \
|
||||
nulib cf $(RELEASE_SRC) $(DB_SRC); \
|
||||
nulib cf $(RELEASE_SRC) $(DB_SRC) > /dev/null; \
|
||||
install $(OWNER) $(MODE_F) $(RELEASE_SRC) $@
|
||||
|
||||
# We redirect nulib stdout to /dev/null because for some reason
|
||||
# it's printing out a "-^H".
|
||||
$(RELDIR)/$(RELEASE_DB): $(DB_SRC)
|
||||
@echo "installing $@"; \
|
||||
/usr/local/sbin/descc $(DB_SRC); \
|
||||
@ -89,7 +93,7 @@ $(RELDIR)/$(RELEASE_DB): $(DB_SRC)
|
||||
cd $(TDIR); \
|
||||
NULIBOPT=type=BIN; export NULIBOPT; \
|
||||
rm -f $(RELEASE_DB); \
|
||||
nulib cf $(RELEASE_DB) describe.db; \
|
||||
nulib cf $(RELEASE_DB) describe.db > /dev/null; \
|
||||
install $(OWNER) $(MODE_F) $(RELEASE_DB) $@
|
||||
|
||||
web: setup
|
||||
|
@ -5,7 +5,7 @@
|
||||
#
|
||||
# Devin Reade, January 1998.
|
||||
#
|
||||
# $Id: mkgen,v 1.4 1999/01/29 07:03:57 gdr-ftp Exp $
|
||||
# $Id: mkgen,v 1.5 1999/07/03 16:55:42 gdr-ftp Exp $
|
||||
#
|
||||
|
||||
$gnohome_internal = "/home/gno/public_html";
|
||||
@ -53,6 +53,7 @@ $categoryMap{"gno/mail"} = "mail";
|
||||
$categoryMap{"gno/network"} = "network";
|
||||
$categoryMap{"gno/news"} = "news";
|
||||
$categoryMap{"gno/patches"} = "patch";
|
||||
$categoryMap{"gno/productivity"} = "productivity";
|
||||
$categoryMap{"gno/programming"} = "prog";
|
||||
$categoryMap{"gno/scripting"} = "script";
|
||||
$categoryMap{"gno/shells"} = "shells";
|
||||
@ -81,6 +82,7 @@ $categoryNames{"mail"} = "Mail Readers";
|
||||
$categoryNames{"network"} = "Networking Utilities";
|
||||
$categoryNames{"news"} = "News Readers";
|
||||
$categoryNames{"patch"} = "Patch Programs";
|
||||
$categoryNames{"productivity"} = "Productivity";
|
||||
$categoryNames{"prog"} = "Programming Utilities";
|
||||
$categoryNames{"script"} = "Scripting Utilities";
|
||||
$categoryNames{"shells"} = "Shells";
|
||||
|
@ -6,11 +6,12 @@
|
||||
#
|
||||
# Devin Reade, January 1998
|
||||
#
|
||||
# $Id: mkindex,v 1.3 1999/04/05 19:56:02 gdr-ftp Exp $
|
||||
# $Id: mkindex,v 1.4 1999/07/03 16:55:42 gdr-ftp Exp $
|
||||
#
|
||||
|
||||
$dirroot = "/ftp/pub/apple2/gs.specific";
|
||||
$dirlist = "gno orca";
|
||||
$describe = '/usr/local/bin/describe';
|
||||
|
||||
# This is a list of describe entries which we want to force into a
|
||||
# given category. This should only be used when a utility doesn't have
|
||||
@ -41,6 +42,7 @@ $fudgelist{"binprint"} = "gno/editors";
|
||||
$fudgelist{"blist"} = "gno/editors";
|
||||
$fudgelist{"cal"} = "gno/games";
|
||||
$fudgelist{"cat"} = "gno/editors";
|
||||
$fudgelist{"center"} = "gno/text.utils";
|
||||
$fudgelist{"chtyp"} = "gno/file.manip";
|
||||
$fudgelist{"cksum"} = "gno/archive";
|
||||
$fudgelist{"cmp"} = "gno/text.utils";
|
||||
@ -78,6 +80,21 @@ $fudgelist{"removerez"} = "gno/file.convert";
|
||||
$fudgelist{"rlogin"} = "gno/network";
|
||||
$fudgelist{"rsh"} = "gno/network";
|
||||
$fudgelist{"rtf2text"} = "gno/file.convert";
|
||||
$fudgelist{"sed"} = "gno/editors";
|
||||
$fudgelist{"sendmail"} = "gno/mail";
|
||||
$fudgelist{"sleep"} = "gno/scripting";
|
||||
$fudgelist{"su"} = "gno/sysadmin";
|
||||
$fudgelist{"syslogd"} = "gno/daemons";
|
||||
$fudgelist{"sz"} = "gno/comm";
|
||||
# $fudgelist{"tr"} = "gno/text.utils";
|
||||
# $fudgelist{"trek"} = "gno/games";
|
||||
$fudgelist{"true"} = "gno/scripting";
|
||||
$fudgelist{"uniq"} = "gno/text.utils";
|
||||
$fudgelist{"uptimed"} = "gno/daemons";
|
||||
$fudgelist{"wc"} = "gno/text.utils";
|
||||
$fudgelist{"who"} = "gno/sys";
|
||||
$fudgelist{"whois"} = "gno/sys";
|
||||
$fudgelist{"yes"} = "gno/scripting";
|
||||
|
||||
#
|
||||
# Get the list of .index.src files. We will look in here for references
|
||||
@ -139,6 +156,14 @@ foreach $k (@keylist) {
|
||||
$s = ':' . $fudgelist{$k} . ':';
|
||||
} else {
|
||||
$s = ':unsorted:';
|
||||
$result = system("$describe $k > /dev/null") / 256;
|
||||
if ($result == 0) {
|
||||
printf(stderr
|
||||
"WARNING: '$k' is showing up as 'unsorted', but has ".
|
||||
"a describe(1) entry.\n\tThis probably means that the ".
|
||||
".index.src file is not using an\n\texisting".
|
||||
"describe entry.\n", $k);
|
||||
}
|
||||
}
|
||||
} elsif (defined($fudgelist{$k})) {
|
||||
printf(stderr
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!-- $Id: view.html,v 1.3 1999/01/29 07:03:57 gdr-ftp Exp $ -->
|
||||
<!-- $Id: view.html,v 1.4 1999/07/03 16:55:42 gdr-ftp Exp $ -->
|
||||
|
||||
<A HREF="gno/describe/index.html"><IMG src="icons/back.gif"
|
||||
alt="Back to the Describe Database Page"
|
||||
@ -77,6 +77,8 @@ The entries are sorted in a few ways. Select whichever is appropriate.
|
||||
<li><A HREF="gno/describe/gen/network.html">Networking Utilities</A>.
|
||||
<li><A HREF="gno/describe/gen/news.html">News Readers</A>.
|
||||
<li><A HREF="gno/describe/gen/patch.html">Patch Programs</A>.
|
||||
<li><A HREF="gno/describe/gen/productivity.html">Personal Productivity</A>
|
||||
(calculators, calendars, etc)
|
||||
<li><A HREF="gno/describe/gen/prog.html">Programming Utilities</A>.
|
||||
<li><A HREF="gno/describe/gen/script.html">Scripting Utilities</A>.
|
||||
<li><A HREF="gno/describe/gen/shells.html">Shells</A>.
|
||||
|
Loading…
x
Reference in New Issue
Block a user