]> thyrsus.com Git - ascii.git/commitdiff
Fix build machinery, this isn't an SCVN repo any more.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 13 Oct 2010 19:08:30 +0000 (15:08 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 13 Oct 2010 19:08:30 +0000 (15:08 -0400)
Makefile

index 4b55416a2264be06d06281c1821f25d89358b24e..a048d5f755aca22c1d18234f8afbfc46d4263bef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,8 @@ VERS=$(shell sed <ascii.spec -n -e '/Version: \(.*\)/s//\1/p')
 
 CFLAGS = -O
 
+all: ascii ascii.1
+
 ascii: ascii.c splashscreen.h nametable.h
        $(CC) -DREVISION=$(VERS) ascii.c -o ascii
 
@@ -32,11 +34,10 @@ uninstall:
 
 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 trunk ascii-$(VERS))
-       (cd ..; tar -czvf trunk/ascii-$(VERS).tar.gz `cat trunk/MANIFEST`)
+ascii-$(VERS).tar.gz: $(SOURCES) ascii.6
+       @ls $(SOURCES) ascii.6 | sed s:^:ascii-$(VERS)/: >MANIFEST
+       @(cd ..; ln -s ascii ascii-$(VERS))
+       (cd ..; tar -czvf ascii/ascii-$(VERS).tar.gz `cat ascii/MANIFEST`)
        @(cd ..; rm ascii-$(VERS))
 
 dist: ascii-$(VERS).tar.gz