aboutsummaryrefslogtreecommitdiff
path: root/abs
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-30 07:07:30 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-30 07:07:30 +0000
commita726fd8caa0901afb2072617fb9c5c3e77099337 (patch)
tree768cf62c712117a1d9d6505fdb7de1c0bd082e0f /abs
parentb4d13deea6b4384eabb0197c89a1c09f18a28b89 (diff)
remove alias abstractions and symlink them on the fly
svn path=/trunk/externals/zexy/; revision=15424
Diffstat (limited to 'abs')
-rw-r--r--abs/Makefile.am20
l---------abs/any2list.pd1
l---------abs/l2i.pd1
3 files changed, 20 insertions, 2 deletions
diff --git a/abs/Makefile.am b/abs/Makefile.am
index c5058ba..2a009ae 100644
--- a/abs/Makefile.am
+++ b/abs/Makefile.am
@@ -57,3 +57,23 @@ dist_zexy_DATA= \
tabset.pd \
uniqsym-help.pd \
uniqsym.pd
+#############
+# symlinks for aliases
+zexyaliasdir=$(pkglibdir)
+
+clean-local: clean_zexyalias
+.PHONY: clean_zexyalias
+
+dist_zexyalias_DATA = any2list.pd l2i.pd
+
+# create aliases
+$(dist_zexyalias_DATA):
+ test -e $< && $(LN_S) $< $@
+
+# delete aliases
+clean_zexyalias:
+ -rm -f $(dist_zexyalias_DATA)
+
+# define aliases
+any2list.pd: a2l.pd
+l2i.pd: list2int.pd
diff --git a/abs/any2list.pd b/abs/any2list.pd
deleted file mode 120000
index 7932bc2..0000000
--- a/abs/any2list.pd
+++ /dev/null
@@ -1 +0,0 @@
-a2l.pd \ No newline at end of file
diff --git a/abs/l2i.pd b/abs/l2i.pd
deleted file mode 120000
index 9ef4004..0000000
--- a/abs/l2i.pd
+++ /dev/null
@@ -1 +0,0 @@
-list2int.pd \ No newline at end of file