diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-08 15:56:46 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-08 15:56:46 +0000 |
commit | ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d (patch) | |
tree | 67dbd5fd1b29f912cd1638f505070d88774a5aa5 /cmake/doc | |
parent | f44a93685ae651a08b51a2688a1c8d4c9ae2d28e (diff) | |
download | usdx-ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d.tar.gz usdx-ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d.tar.xz usdx-ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d.zip |
initial cmake support (let's see if this is better suited than autoconf)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1717 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | cmake/doc/Makefile | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/cmake/doc/Makefile b/cmake/doc/Makefile deleted file mode 100644 index bfb4596c..00000000 --- a/cmake/doc/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -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 |