summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/lua-alt-getopt/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-27 17:31:54 +0000
committerKarl Berry <karl@freefriends.org>2010-02-27 17:31:54 +0000
commitcad9c7b7552dabd8248a903fa699d4764cb05723 (patch)
treee3cdc5411e8ffef074304e6e6df84ccf6d90311f /Master/texmf-dist/doc/support/lua-alt-getopt/Makefile
parentf156b9f9622bbc52d6d48f41cc9e7910cdcd8039 (diff)
new package lua-alt-getopt 0.7.0 (26feb10)
git-svn-id: svn://tug.org/texlive/trunk@17228 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/lua-alt-getopt/Makefile')
-rw-r--r--Master/texmf-dist/doc/support/lua-alt-getopt/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/lua-alt-getopt/Makefile b/Master/texmf-dist/doc/support/lua-alt-getopt/Makefile
new file mode 100644
index 00000000000..e68b3507363
--- /dev/null
+++ b/Master/texmf-dist/doc/support/lua-alt-getopt/Makefile
@@ -0,0 +1,31 @@
+PREFIX?=/usr/local
+LUAVER?=5.1
+LUAMODDIR?=${PREFIX}/lib/lua/${LUAVER}
+
+##################################################
+
+VERSION= 0.7.0
+PROJECTNAME= lua-alt-getopt
+BIRTHDATE= 2009-01-10
+
+FILES= alt_getopt.lua
+FILESDIR= ${LUAMODDIR}
+
+INST_DIR?= ${INSTALL} -d
+
+##################################################
+.PHONY: install-dirs
+install-dirs:
+ $(INST_DIR) ${DESTDIR}${LUAMODDIR}
+
+.PHONY: test
+test:
+ @echo 'running tests...'; \
+ ln -f -s ${.CURDIR}/alt_getopt.lua ${.CURDIR}/tests; \
+ export OBJDIR=${.OBJDIR}; \
+ if cd ${.CURDIR}/tests && ./test.sh; \
+ then echo ' succeeded'; \
+ else echo ' failed'; false; \
+ fi
+
+.include <bsd.prog.mk>