From f7ceb4204b58d97cf8362cfbe2cd923cbfa00ae1 Mon Sep 17 00:00:00 2001 From: Reid Date: Tue, 16 Feb 2016 01:01:45 +0100 Subject: Improve the makefile and add a field for the wiki, now works: - make, - make all, - make wiki, - make about-server. --- contrib_xsl/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'contrib_xsl/Makefile') diff --git a/contrib_xsl/Makefile b/contrib_xsl/Makefile index 7725863..7c3edea 100644 --- a/contrib_xsl/Makefile +++ b/contrib_xsl/Makefile @@ -2,7 +2,13 @@ XSLTPROC = xsltproc CDDIR = ../../client-data HELPDIR = help +all: about-server wiki + about-server: @mkdir -p $(CDDIR)/$(HELPDIR) - @$(XSLTPROC) about-server.xsl $(CDDIR)/contributors.xml > $(CDDIR)/$(HELPDIR)/about-server.txt + @$(XSLTPROC) -o $(CDDIR)/$(HELPDIR)/about-server.txt about-server.xsl contributors.xml @echo "The file about-server.txt was created successfully." + +wiki: + @$(XSLTPROC) wiki.xsl contributors.xml | less + @echo "You can now place this output in: http://wiki.evolonline.org/contributors" -- cgit v1.2.3-70-g09d2