aboutsummaryrefslogtreecommitdiff
path: root/packages/linux_make
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-02 15:08:29 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-07-02 15:08:29 +0000
commit4c7a9c5fb2da8d918bd3b5ab07bbdc65f5b42343 (patch)
tree4348fce3f0f3d4530c9c7d0732c7abcfa62518d3 /packages/linux_make
parent04b8cca6fa09e8f2b4dca07de2b5d1dc5b1405c7 (diff)
added files from scripts to the pd-extended.deb on Frank's suggestion
svn path=/trunk/; revision=7883
Diffstat (limited to 'packages/linux_make')
-rwxr-xr-xpackages/linux_make/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile
index c67556d3..94239932 100755
--- a/packages/linux_make/Makefile
+++ b/packages/linux_make/Makefile
@@ -65,15 +65,20 @@ PACKAGE_NAME = Pd-$(PD_VERSION)
deb:
# GNOME menu support
- test -d $(DESTDIR)/usr/share/icons/hicolor/128x128/apps || \
- mkdir -p $(DESTDIR)/usr/share/icons/hicolor/128x128/apps
+ install -d $(DESTDIR)/usr/share/icons/hicolor/128x128/apps
install -p $(packages_src)/linux_make/pd.png \
$(DESTDIR)/usr/share/icons/hicolor/128x128/apps/
- test -d $(DESTDIR)/usr/share/applications/ || \
- mkdir -p $(DESTDIR)/usr/share/applications/
+ install -d $(DESTDIR)/usr/share/applications/
install -p $(packages_src)/linux_make/pd-extended.desktop \
$(DESTDIR)/usr/share/applications/
-# debian packageing
+# files for /etc
+ install -d $(DESTDIR)/etc/bash_completion.d/
+ install -p $(scripts_src)/bash_completion/pd $(DESTDIR)/etc/bash_completion.d
+ install -d $(DESTDIR)/etc/default
+ install -p $(scripts_src)/debian/default/pd $(DESTDIR)/etc/default
+ install -d $(DESTDIR)/etc/init.d
+ install -p $(scripts_src)/debian/init.d/pd $(DESTDIR)/etc/init.d
+# debian packaging
test -d $(DESTDIR)/DEBIAN || mkdir -p $(DESTDIR)/DEBIAN
cp $(packages_src)/linux_make/debian/control $(DESTDIR)/DEBIAN
dpkg-deb --build $(DESTDIR) $(packages_src)/linux_make/$(PACKAGE_NAME).deb