summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornigel <nigel@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-16 01:48:44 +0000
committernigel <nigel@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-16 01:48:44 +0000
commit9726c3e523b08777cf6000b3839852d61f9312ea (patch)
tree439c90ac09ae7a69ad65030f9f1efbf5d12ddc79 /Makefile
parentc6a38e398f3cf285f456d94da366fa49d1b341f3 (diff)
downloadmarex-dev-9726c3e523b08777cf6000b3839852d61f9312ea.tar.gz
marex-dev-9726c3e523b08777cf6000b3839852d61f9312ea.tar.bz2
Makefile: Add install-debug target, to install debug versions of core and plugins. Prefix defaults to
/usr/local, use PREFIX=/usr (eg) to install elsewhere. git-svn-id: file:///beryl/trunk@1784 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f14d473..1a48ad5 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,7 @@
# distclean: Cleanup thoroughly.
# all: Build and install everything from source.
# all-debs: Build and install everything as debs.
+# install-debug: Install debug versions of core and plugins.
#
# Per package targets:
# (Replace $NAME with one of the names from modules below).
@@ -190,5 +191,15 @@ newdebs: distclean debs
distclean: clean
@rm -f *.changes *.deb *.tar.gz *.dsc
+install-debug: $(COOKIEDIR)/beryl-core.deb $(COOKIEDIR)/beryl-plugins.deb
+ if [ -z "${PREFIX}" ] ; then PREFIX=/usr/local ; fi; \
+ sudo mkdir -p ${PREFIX}/bin; \
+ sudo mkdir -p ${PREFIX}/lib/beryl/backends; \
+ sudo cp .beryl-core.build/src/beryl-xgl ${PREFIX}/bin ; \
+ sudo cp .beryl-core.build/libberylsettings/.libs/libberylsettings.so ${PREFIX}/lib ; \
+ sudo cp .beryl-core.build/settings-backends/.libs/libini.so ${PREFIX}/lib/beryl/backends/ ; \
+ sudo cp .beryl-plugins.build/src/.libs/*.so ${PREFIX}/lib/beryl/ ; \
+
+
cfg-clean:
@rm -f $(COOKIEDIR)/*.cfg