aboutsummaryrefslogtreecommitdiff
path: root/packages/linux_make/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-18 20:09:10 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-18 20:09:10 +0000
commitecd798aba6827a453d18fdcd438497094bfc08be (patch)
tree403eda03a5f6a0e25854cd1981e98ddde484dbe5 /packages/linux_make/Makefile
parentda0a518e462db5713a75eb03abc3865b4aa9b4b9 (diff)
rename binary to 'pd-extended' so this package and live with 'puredata'
svn path=/trunk/; revision=15299
Diffstat (limited to 'packages/linux_make/Makefile')
-rwxr-xr-xpackages/linux_make/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile
index 8b32aa9b..6405af8f 100755
--- a/packages/linux_make/Makefile
+++ b/packages/linux_make/Makefile
@@ -79,6 +79,8 @@ package: $(PACKAGE_TYPE)
tarbz2: installer_makefile installer_readme
install -p $(packages_src)/linux_make/default.pdextended $(DESTDIR)$(libpddir)
+ mv $(DESTDIR)$(bindir)/pd $(DESTDIR)$(bindir)/pd-extended
+ ln -s $(bindir)/pd-extended $(DESTDIR)$(bindir)/pd
mv $(DESTDIR)$(prefix) $(DESTDIR)$(PACKAGE_NAME)
cd $(DESTDIR) && \
tar cjf $(PACKAGE_NAME).tar.bz2 $(PACKAGE_NAME)
@@ -125,6 +127,10 @@ deb: $(bindir)
install -d $(DESTDIR)/usr/share/emacs/site-lisp/
install -p -m0644 $(scripts_src)/pd-mode.el \
$(DESTDIR)/usr/share/emacs/site-lisp/
+# the 'pd' command should be handled by update-alternatives
+ mv $(DESTDIR)$(bindir)/pd $(DESTDIR)$(bindir)/pd-extended
+# Pd-extended uses the one in /usr/lib/pd-extended
+ rm -f -- $(DESTDIR)$(bindir)/pd-gui.tcl
# Pd-related scripts
install -p $(scripts_src)/pd-diff $(DESTDIR)$(bindir)
install -p $(scripts_src)/config-switcher.sh $(DESTDIR)$(bindir)