aboutsummaryrefslogtreecommitdiff
path: root/packages/linux_make
diff options
context:
space:
mode:
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