simplify docs Makefile
This commit is contained in:
parent
1e891b9df6
commit
bcb5f54eb9
7 changed files with 11 additions and 315 deletions
1
Makefile
1
Makefile
|
|
@ -222,7 +222,6 @@ release: releasedir
|
||||||
@cd build ; \
|
@cd build ; \
|
||||||
tar -czvf tuxpaint-$(VER_VERSION).tar.gz tuxpaint-$(VER_VERSION)
|
tar -czvf tuxpaint-$(VER_VERSION).tar.gz tuxpaint-$(VER_VERSION)
|
||||||
|
|
||||||
|
|
||||||
# "make nosound" builds the program with sound disabled:
|
# "make nosound" builds the program with sound disabled:
|
||||||
.PHONY: nosound
|
.PHONY: nosound
|
||||||
nosound:
|
nosound:
|
||||||
|
|
|
||||||
|
|
@ -14,30 +14,15 @@
|
||||||
LINKS_OPTIONS:=-dump
|
LINKS_OPTIONS:=-dump
|
||||||
LINKS:=links $(LINKS_OPTIONS)
|
LINKS:=links $(LINKS_OPTIONS)
|
||||||
|
|
||||||
|
HTMLFILES:=$(wildcard html/*.html)
|
||||||
|
TEXTFILES:=$(patsubst html/%.html,%.txt,$(HTMLFILES))
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: README.txt OPTIONS.txt FAQ.txt EXTENDING.txt ADVANCED-STAMPS-HOWTO.txt
|
all: $(TEXTFILES)
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
-rm README.txt
|
-rm $(TEXTFILES)
|
||||||
-rm OPTIONS.txt
|
|
||||||
-rm FAQ.txt
|
|
||||||
-rm EXTENDING.txt
|
|
||||||
-rm ADVANCED-STAMPS-HOWTO.txt
|
|
||||||
|
|
||||||
README.txt: html/README.html
|
$(TEXTFILES): %.txt: html/%.html
|
||||||
$(LINKS) $< > $@
|
$(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) $< > $@
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,39 +1,2 @@
|
||||||
# Makefile for Tux Paint docs
|
include ../Makefile
|
||||||
#
|
|
||||||
# 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
|
|
||||||
#
|
|
||||||
# Sept. 4, 2005 - October 24, 2005
|
|
||||||
|
|
||||||
LINKS:=links -dump -no-numbering -no-references
|
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all: README1.txt README2.txt OPTIONS.txt FAQ.txt PNG.txt
|
|
||||||
|
|
||||||
.PHONY: clean
|
|
||||||
clean:
|
|
||||||
-rm README1.txt
|
|
||||||
-rm README2.txt
|
|
||||||
-rm OPTIONS.txt
|
|
||||||
-rm FAQ.txt
|
|
||||||
-rm PNG.txt
|
|
||||||
|
|
||||||
README1.txt: html/README1.html
|
|
||||||
$(LINKS) $< > $@
|
|
||||||
|
|
||||||
README2.txt: html/README2.html
|
|
||||||
$(LINKS) $< > $@
|
|
||||||
|
|
||||||
OPTIONS.txt: html/OPTIONS.html
|
|
||||||
$(LINKS) $< > $@
|
|
||||||
|
|
||||||
FAQ.txt: html/FAQ.html
|
|
||||||
$(LINKS) $< > $@
|
|
||||||
|
|
||||||
PNG.txt: html/PNG.html
|
|
||||||
$(LINKS) $< > $@
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,42 +1,2 @@
|
||||||
# Makefile for Tux Paint docs
|
include ../Makefile
|
||||||
#
|
|
||||||
# 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
|
|
||||||
#
|
|
||||||
# Sept. 4, 2005 - March 8, 2006
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
LINKS:=links -dump -no-numbering -no-references
|
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all: README.txt OPTIONS.txt EXTENDING.txt FAQ.txt
|
|
||||||
# ADVANCED-STAMPS-HOWTO.txt
|
|
||||||
|
|
||||||
.PHONY: clean
|
|
||||||
clean:
|
|
||||||
-rm README.txt
|
|
||||||
-rm OPTIONS.txt
|
|
||||||
-rm FAQ.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) $< > $@
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,43 +1,2 @@
|
||||||
# Makefile for Tux Paint docs
|
include ../Makefile
|
||||||
#
|
|
||||||
# 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) $< > $@
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,43 +1,2 @@
|
||||||
# Makefile for Tux Paint docs
|
include ../Makefile
|
||||||
#
|
|
||||||
# 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 \
|
|
||||||
OPTIONS.txt
|
|
||||||
# FAQ.txt \
|
|
||||||
# EXTENDING.txt \
|
|
||||||
# ADVANCED-STAMPS-HOWTO.txt
|
|
||||||
|
|
||||||
.PHONY: clean
|
|
||||||
clean:
|
|
||||||
-rm README.txt
|
|
||||||
-rm OPTIONS.txt
|
|
||||||
#-rm FAQ.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) $< > $@
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,130 +1 @@
|
||||||
# Makefile for Tux Paint Magic Tool Plugin API docs
|
include ../../docs/Makefile
|
||||||
#
|
|
||||||
# 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
|
|
||||||
#
|
|
||||||
# August 2, 2007 - August 9, 2007
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
LINKS:=links -dump -no-numbering -no-references
|
|
||||||
|
|
||||||
TXT_FILES:= \
|
|
||||||
blocks.txt \
|
|
||||||
blur.txt \
|
|
||||||
bricks.txt \
|
|
||||||
calligraphy.txt \
|
|
||||||
cartoon.txt \
|
|
||||||
chalk.txt \
|
|
||||||
darken.txt \
|
|
||||||
drip.txt \
|
|
||||||
emboss.txt \
|
|
||||||
fade.txt \
|
|
||||||
fill.txt \
|
|
||||||
flip.txt \
|
|
||||||
flower.txt \
|
|
||||||
foam.txt \
|
|
||||||
glasstile.txt \
|
|
||||||
grass.txt \
|
|
||||||
kalidescope.txt \
|
|
||||||
light.txt \
|
|
||||||
metalpaint.txt \
|
|
||||||
mirror.txt \
|
|
||||||
negative.txt \
|
|
||||||
rainbow.txt \
|
|
||||||
ripples.txt \
|
|
||||||
shift.txt \
|
|
||||||
smudge.txt \
|
|
||||||
tint.txt \
|
|
||||||
waves.txt
|
|
||||||
|
|
||||||
.PHONY: all
|
|
||||||
all: $(TXT_FILES)
|
|
||||||
|
|
||||||
.PHONY: clean
|
|
||||||
clean:
|
|
||||||
@-rm $(TXT_FILES)
|
|
||||||
|
|
||||||
blocks.txt: html/blocks.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
blur.txt: html/blur.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
bricks.txt: html/bricks.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
calligraphy.txt: html/calligraphy.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
cartoon.txt: html/cartoon.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
chalk.txt: html/chalk.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
darken.txt: html/darken.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
drip.txt: html/drip.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
emboss.txt: html/emboss.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
fade.txt: html/fade.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
fill.txt: html/fill.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
flip.txt: html/flip.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
flower.txt: html/flower.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
foam.txt: html/foam.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
glasstile.txt: html/glasstile.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
grass.txt: html/grass.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
kalidescope.txt: html/kalidescope.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
metalpaint.txt: html/metalpaint.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
mirror.txt: html/mirror.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
negative.txt: html/negative.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
rainbow.txt: html/rainbow.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
ripples.txt: html/ripples.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
smudge.txt: html/smudge.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
light.txt: html/light.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
shift.txt: html/shift.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
tint.txt: html/tint.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
||||||
waves.txt: html/waves.html
|
|
||||||
@$(LINKS) $< > $@
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue