summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop@e10066b5-e1e2-0310-b819-94efdf66514b>2008-01-01 15:17:11 +0000
committerscop <scop@e10066b5-e1e2-0310-b819-94efdf66514b>2008-01-01 15:17:11 +0000
commite9373aae98c51088d8cf78c20d6d54e2f9692866 (patch)
tree9f5795b993be3a5ff9c3788724989414332f64b4
parent937da3938b305bff159688c6b4640e556d60d4e8 (diff)
downloadvdr-plugin-muggle-e9373aae98c51088d8cf78c20d6d54e2f9692866.tar.gz
vdr-plugin-muggle-e9373aae98c51088d8cf78c20d6d54e2f9692866.tar.bz2
Add DESTDIR support to "make install".
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@987 e10066b5-e1e2-0310-b819-94efdf66514b
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index beb8fa8..55134f3 100644
--- a/Makefile
+++ b/Makefile
@@ -167,10 +167,10 @@ mugglei: mg_tools.o mugglei.o mg_db.o $(DB_OBJ) mg_listitem.o mg_item.o mg_item_
$(CXX) $(CXXFLAGS) $^ $(MILIBS) $(SQLLIBS) -o $@
install:
- @cp --remove-destination ../../lib/libvdr-muggle*.so.* /usr/lib/vdr/
- @cp mugglei $(BINDIR)/
- @cp scripts/muggle-image-convert $(BINDIR)/
-# @install -m 755 mugglei /usr/local/bin/
+ @cp --remove-destination ../../lib/libvdr-muggle*.so.* \
+ $(DESTDIR)/usr/lib/vdr/
+ @cp mugglei $(DESTDIR)$(BINDIR)/
+ @cp scripts/muggle-image-convert $(DESTDIR)$(BINDIR)/
dist: clean mg_tables.h
@-rm -rf $(TMPDIR)/$(ARCHIVE)