Skip to content

Commit

Permalink
Add ISR-SASL2-BIND2
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowdalic committed Feb 14, 2017
1 parent 35291a7 commit 3ccde0e
Show file tree
Hide file tree
Showing 2 changed files with 455 additions and 0 deletions.
35 changes: 35 additions & 0 deletions xep-isr-sasl2-bind2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
.PHONY: all clean

# Finde the path to the Makefile, and the path to the directory of the
# Makefile. Credits to http://stackoverflow.com/a/18137056/194894
MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
MKFILE_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH))))
XEP := $(shell basename $(MKFILE_DIR))
FROM_XMPP_GIT := xep.xsl xep.dtd xep.ent xmpp.css prettify.css prettify.js

all: $(XEP).html

xep.xsl: ../xsf-xeps/xep.xsl
cp $^ $@

xep.dtd: ../xsf-xeps/xep.dtd
cp $^ $@

xep.ent: ../xsf-xeps/xep.ent
cp $^ $@

xmpp.css: ../xsf-xeps/xmpp.css
cp $^ $@

prettify.css: ../xsf-xeps/prettify.css
cp $^ $@

prettify.js: ../xsf-xeps/prettify.js
cp $^ $@

$(XEP).html: $(XEP).xml $(FROM_XMPP_GIT)
xsltproc $^ --output $@

clean:
rm -f $(XEP).html
rm -r $(FROM_XMPP_GIT)
Loading

0 comments on commit 3ccde0e

Please sign in to comment.