$(CC) -DREVISION=$(VERS) ascii.c -o ascii
splashscreen.h: splashscreen
- sed <splashscreen >splashscreen.h -e 's/\\/\\\\/g' -e 's/"/\\"/' -e 's/.*/puts("&");/'
+ sed <splashscreen >splashscreen.h -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/.*/P("&");/'
nametable.h: nametable
sed <nametable >nametable.h -e '/^#/d' -e 's/^[A-Za-z ]*: */ /' -e 's/%%/ }, {/'
xmlto html-nochunks ascii.xml
clean:
- rm -f ascii ascii.o splashscreen.h ascii.1 *.rpm *.tar.gz
+ rm -f ascii ascii.o splashscreen.h nametable.h ascii.1 *.rpm *.tar.gz MANIFEST
install: ascii ascii.1
cp ascii $(DESTDIR)/usr/bin/ascii
SOURCES = README COPYING Makefile ascii.c ascii.xml ascii.spec splashscreen nametable ascii.cgi
+# Assumes this is the trubnk of a Subversion repository
ascii-$(VERS).tar.gz: $(SOURCES) ascii.1
@ls $(SOURCES) ascii.1 | sed s:^:ascii-$(VERS)/: >MANIFEST
- @(cd ..; ln -s ascii ascii-$(VERS))
- (cd ..; tar -czvf ascii/ascii-$(VERS).tar.gz `cat ascii/MANIFEST`)
+ @(cd ..; ln -s trunk ascii-$(VERS))
+ (cd ..; tar -czvf trunk/ascii-$(VERS).tar.gz `cat trunk/MANIFEST`)
@(cd ..; rm ascii-$(VERS))
dist: ascii-$(VERS).tar.gz
release: ascii-$(VERS).tar.gz ascii.html
- shipper -f; rm -f CHANGES ANNOUNCE* ascii.html *.1 *.html *.rpm *.lsm
+ shipper; rm -f CHANGES ANNOUNCE* ascii.html *.1 *.html *.rpm *.lsm
showHelp(FILE *out, char *progname)
{
fprintf(out,"Usage: %s [-dxohv] [-t] [char-alias...]\n", progname);
-#define P(s) puts(s);
+#define P(s) fputs(s, out);
#include "splashscreen.h"
#undef P
Name: ascii
-Version: 3.6
+Version: 3.7
Release: 1
URL: http://www.catb.org/~esr/ascii/
Source0: %{name}-%{version}.tar.gz
%doc README COPYING
%changelog
+* Wed Mar 2 2005 Eric S. Raymond <esr@snark.thyrsus.com> - 3.7-1
+- Fix a comment bug in the nametable. Improve splashscreen generation.
+
* Sun Jan 11 2004 Eric S. Raymond <esr@snark.thyrsus.com> 3.6-1
- Fix brown-paper-bag bug in the Space entry.
Mnemonics: "]",
ISO names: "Right Square Bracket",
Synonyms: "Unbracket", "Ket", "Unsquare",
-Comments: "# See `]' for matching names.",
+Comments: "# See `[' for matching names.",
%%
Mnemonics: "^",
ISO names: "Circumflex Accent",