CFLAGS = -O
+all: ascii ascii.1
+
ascii: ascii.c splashscreen.h nametable.h
$(CC) -DREVISION=$(VERS) ascii.c -o 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 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