simplify docs Makefile

This commit is contained in:
Albert Cahalan 2008-05-24 06:41:06 +00:00
parent 1e891b9df6
commit bcb5f54eb9
7 changed files with 11 additions and 315 deletions

View file

@ -1,43 +1,2 @@
# Makefile for Tux Paint docs
#
# Uses "links" to convert docs from HTML to plain text.
# (Normally only ran by the developers after updating the HTML, prior to
# release.)
#
# Bill Kendrick
# bill@newbreedsoftware.com
#
# $Id$
LINKS:=links -dump -no-numbering -no-references
.PHONY: all
all: README.txt FAQ.txt
# OPTIONS.txt
# EXTENDING.txt
# ADVANCED-STAMPS-HOWTO.txt
.PHONY: clean
clean:
-rm README.txt
-rm FAQ.txt
# -rm OPTIONS.txt
# -rm EXTENDING.txt
# -rm ADVANCED-STAMPS-HOWTO.txt
README.txt: html/README.html
$(LINKS) $< > $@
OPTIONS.txt: html/OPTIONS.html
$(LINKS) $< > $@
FAQ.txt: html/FAQ.html
$(LINKS) $< > $@
EXTENDING.txt: html/EXTENDING.html
$(LINKS) $< > $@
ADVANCED-STAMPS-HOWTO.txt: html/ADVANCED-STAMPS-HOWTO.html
$(LINKS) $< > $@
include ../Makefile