From 177fa2d8ad04f93ae5411d5c3a8c715cf5ea4534 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 10 May 2008 18:54:22 +0000 Subject: fixed up Debian packages so that they now installed properly into /usr rather than /usr/local. The tarballs still install into /usr/local. Also limited the dpkg commands to machines that have dpkg-deb installed. Also, tweaked /usr/share/pd to be write-all so that people can install their own stuff there. svn path=/trunk/; revision=9778 --- packages/Makefile.buildlayout | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/Makefile.buildlayout') diff --git a/packages/Makefile.buildlayout b/packages/Makefile.buildlayout index 7f2c3a31..dd4a00e6 100644 --- a/packages/Makefile.buildlayout +++ b/packages/Makefile.buildlayout @@ -68,6 +68,12 @@ endif ifeq ($(UNAME_MACHINE),ppc) ARCH = powerpc endif +# if machine has dpkg-deb, build a Debian package +ifeq ($(shell test -x /usr/bin/dpkg-deb && echo YES),YES) + PACKAGE_TYPE = deb +else + PACKAGE_TYPE = tarbz2 +endif #==============================================================================# # -- cgit v1.2.1