mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 16:33:19 +00:00
Added .info file generation.
This commit is contained in:
parent
d001a6f1a0
commit
8d95a64b58
13
doc/Makefile
13
doc/Makefile
@ -1,4 +1,4 @@
|
||||
.PHONY: all doc html gh-pages mostlyclean clean install
|
||||
.PHONY: all doc html info gh-pages mostlyclean clean install
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
@ -15,16 +15,18 @@ GH_PAGES = ../../gh-pages
|
||||
|
||||
all:
|
||||
|
||||
doc: html
|
||||
doc: html info
|
||||
|
||||
html: $(addprefix ../html/,$(SGMLS:.sgml=.html) doc.css doc.png)
|
||||
|
||||
info: $(addprefix ../info/,$(SGMLS:.sgml=.info))
|
||||
|
||||
mostlyclean:
|
||||
|
||||
clean:
|
||||
$(RM) -r ../html
|
||||
$(RM) -r ../html ../info
|
||||
|
||||
../html:
|
||||
../html ../info:
|
||||
@mkdir $@
|
||||
|
||||
../html/%.html: %.sgml header.html | ../html
|
||||
@ -33,6 +35,9 @@ clean:
|
||||
../html/doc.%: doc.% | ../html
|
||||
cp $< ../html
|
||||
|
||||
../info/%.info: %.sgml | ../info
|
||||
@cd ../info && linuxdoc -B info ../doc/$<
|
||||
|
||||
gh-pages: html
|
||||
ifdef GH_TOKEN
|
||||
git clone --branch=gh-pages https://$(GH_TOKEN)@github.com/oliverschmidt/cc65.git $(GH_PAGES)
|
||||
|
Loading…
Reference in New Issue
Block a user