diff options
author | Reuben Thomas <rrt@sc3d.org> | 2010-10-26 14:20:23 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2010-10-26 14:20:45 +0100 |
commit | cee4d819c42451bde38e2e23e67afc6fb876a83e (patch) | |
tree | 297e4cdc39e25ca2b929264bd8233970756e8cfc /doc | |
parent | 46f735084490c3b80040ad6ddf1feba963dff1c3 (diff) | |
download | lrexlib-cee4d819c42451bde38e2e23e67afc6fb876a83e.tar.gz |
Improve portability of build system. (Shmuel)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile index 965e04e..81b44b5 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,8 +1,12 @@ # Documentation Makefile +APP = rst2html +CP = cp -a +RM = rm +IDX = ../README + .SUFFIXES: .txt .html -APP = rst2html CSS = --stylesheet-path=lrexlib.css --link-stylesheet HDR = --initial-header-level=2 DT = --date --time @@ -14,8 +18,8 @@ PAGES = index.html manual.html all: $(PAGES) -index.txt: ../README - cp -a $< $@ +index.txt: $(IDX) + $(CP) $< $@ clean: - rm $(PAGES) + $(RM) $(PAGES) index.txt |