diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-06-26 18:03:07 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-06-26 18:03:07 (GMT) |
commit | 649fc1d12d7be943b5ab964b9dac0670797d9057 (patch) | |
tree | e25e9fba4dc24d9f0a4174d79d2ebc896fa9e490 /Swiften | |
parent | c852c3b310bcc32bfe634816ad5f08c1f7379a98 (diff) | |
download | swift-649fc1d12d7be943b5ab964b9dac0670797d9057.zip swift-649fc1d12d7be943b5ab964b9dac0670797d9057.tar.bz2 |
Added a 'make install-swift' target.
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/Makefile.inc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Swiften/Makefile.inc b/Swiften/Makefile.inc index d5bf0f5..0ed7bab 100644 --- a/Swiften/Makefile.inc +++ b/Swiften/Makefile.inc @@ -51,10 +51,11 @@ $(SWIFTEN_TARGET): $(SWIFTEN_OBJECTS) .PHONY: install-swiften install-swiften: $(SWIFTEN_TARGET) $(SWIFTEN_HEADERS) - install -d $(includedir)/Swiften/3rdParty - rsync -a 3rdParty/Boost/boost $(includedir)/Swiften/3rdParty/Boost - for header in $(SWIFTEN_HEADERS); do headerdir=$(includedir)/`dirname $$header`; echo $$header install -d $$headerdir; install $$header $$headerdir; done - install $(SWIFTEN_TARGET) $(libdir) + install -d $(DESTDIR)$(includedir) $(DESTDIR)$(libdir) + install -d $(DESTDIR)$(includedir)/Swiften/3rdParty + rsync -a 3rdParty/Boost/boost $(DESTDIR)$(includedir)/Swiften/3rdParty/Boost + for header in $(SWIFTEN_HEADERS); do headerdir=$(includedir)/`dirname $$header`; echo $$header install -d $(DESTDIR)$$headerdir; install $$header $(DESTDIR)$$headerdir; done + install $(SWIFTEN_TARGET) $(DESTDIR)$(libdir) include Swiften/QA/Makefile.inc include Swiften/Examples/Makefile.inc |