summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-09-15 12:26:37 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-09-15 12:26:37 -0700
commit49880e8803d8f813aebcb15a5ecb6dc70d0caa17 (patch)
treef3335969fae3d526b4d9e968a374dd54cc87926b /Makefile
parent08311ca818df220f8e59fc0ff5835d18913daa89 (diff)
parent08563510e0f4328d9e893f17fc1fd37bac00dbc7 (diff)
downloadlualibs-49880e8803d8f813aebcb15a5ecb6dc70d0caa17.tar.gz
Merge pull request #18 from phi-gamma/master
sync
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f04503a..a50c63d 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,10 @@ $(UNPACKED): lualibs.dtx
$(DO_TEX)
define make-ctandir
-@rm -r $(DISTDIR)
+@if [ -d $(DISTDIR) ] ; \
+ then \
+ rm -r $(DISTDIR) ; \
+ fi
@mkdir $(DISTDIR) && cp $(ALL_FILES) $(DISTDIR)
endef