diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-11-02 12:51:22 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-11-02 12:51:22 +0000 |
commit | 5000060b04bed23cbbd88ba43ed546220c4b7c69 (patch) | |
tree | 65698942fe29cfb0f94553ded56b5d9b72f6bf0b /songmanagement/doc | |
parent | 61219d935c43c685506ed71e3e98ad29636e6e46 (diff) | |
download | usdx-5000060b04bed23cbbd88ba43ed546220c4b7c69.tar.gz usdx-5000060b04bed23cbbd88ba43ed546220c4b7c69.tar.xz usdx-5000060b04bed23cbbd88ba43ed546220c4b7c69.zip |
create experimental songmanagement branch
- nicer abstraction of songs
- split songloading from handling songs
- cleanup singscreen
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2706 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | songmanagement/doc/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/songmanagement/doc/Makefile b/songmanagement/doc/Makefile new file mode 100644 index 00000000..bfb4596c --- /dev/null +++ b/songmanagement/doc/Makefile @@ -0,0 +1,30 @@ +MKDIR ?= mkdir -p +RM ?= rm -f +RM_REC ?= $(RM) -r + +PASDOC ?= pasdoc$(EXEEXT) + +DOCDIR ?= ./pasdoc +SRCDIR := ../src +INCLUDE := -I$(SRCDIR) +DEFINES := -DPASDOC +SRCFILES := $(SRCDIR)/base/*.pas \ + $(SRCDIR)/screens/*.pas \ + $(SRCDIR)/menu/*.pas \ + $(SRCDIR)/media/*.pas + +.PHONY: all +all: doc + +.PHONY: doc +doc: clean + $(MKDIR) $(DOCDIR) +# pasdoc does not return a meaningful exit code (e.g. an error code on success) so always return true + $(PASDOC) --staronly --ignore-leading=* $(INCLUDE) $(DEFINES) --output=$(DOCDIR) $(SRCFILES); true +# check if doc was created + @test -f $(DOCDIR)/index.html + +.PHONY: clean +clean: + $(RM) $(DOCDIR)/*.html $(DOCDIR)/*.css $(DOCDIR)/*.gif + -rmdir $(DOCDIR)
\ No newline at end of file |