Change the install* targets in the Makefiles to honour DESTDIR. This
makes packaging the client for .deb and .rpm easier. Reported separately by nyet and VICODAN. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@164 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -193,7 +193,7 @@ depend:
|
||||
gcc -MM $(CPPFLAGS) $(DEFS) $(CFLAGS) *.c > .depend
|
||||
|
||||
install:
|
||||
$(INSTALL) $(PLUGIN_NAME)$(SHLIB_SUFFIX) $(PLUGINDIR)
|
||||
$(INSTALL) $(PLUGIN_NAME)$(SHLIB_SUFFIX) $(DESTDIR)$(PLUGINDIR)
|
||||
|
||||
audio.o: audio.c ../../include/irc.h ../../include/defs.h \
|
||||
../../include/config.h ../../include/../.config.h \
|
||||
|
||||
Reference in New Issue
Block a user