diff options
author | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-10-20 12:45:26 +0300 |
---|---|---|
committer | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-10-20 12:45:26 +0300 |
commit | b33025a09f6fc4ad9f4c60c71fd629b34e0ba521 (patch) | |
tree | 0c202bbc3431aca3d288ab62089e6f146ca89bf9 | |
parent | d87f667c4861368cb27fd5e2d593260f41008122 (diff) |
Added support for make dist in root
-rw-r--r-- | libresourceqt/libresourceqt.pro | 15 | ||||
-rwxr-xr-x | makedist.sh | 13 |
2 files changed, 26 insertions, 2 deletions
diff --git a/libresourceqt/libresourceqt.pro b/libresourceqt/libresourceqt.pro index 36b2036..2626c19 100644 --- a/libresourceqt/libresourceqt.pro +++ b/libresourceqt/libresourceqt.pro @@ -50,6 +50,10 @@ CONFIG += qt link_pkgconfig dll QT = core PKGCONFIG += dbus-1 libresource0 +dox.commands = doxygen Doxyfile +QMAKE_EXTRA_TARGETS += dox +PRE_TARGETDEPS += dox + # Install directives headers.files = $${PUBLIC_HEADERS} INSTALLBASE = /usr @@ -58,5 +62,12 @@ headers.path = $${INSTALLBASE}/include/resource/qt4/policy pc.files = libresourceqt1.pc pc.path = $${INSTALLBASE}/lib/pkgconfig -INSTALLS = target headers pc - +man.files = docs/man +man.path = $${INSTALLBASE}/share +htmldoc.files = docs/html +htmldoc.path = $${INSTALLBASE}/share/doc/libresourceqt +xmldoc.files = docs/xml +xmldoc.path = $${INSTALLBASE}/share/doc/libresourceqt + +INSTALLS = target headers pc man htmldoc xmldoc + diff --git a/makedist.sh b/makedist.sh new file mode 100755 index 0000000..6f301d0 --- /dev/null +++ b/makedist.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +version="1.23" +name="libresourceqt-$version" + +echo "packaging $name" + +rm -rf $name $name.tar.gz +mkdir -v $name && \ +cp -va COPYING libresourceqt.* common.pri libdbus-qeventloop libresourceqt resourceqt-client tests demo $name && \ +tar cvzf $name.tar.gz $name && \ +rm -rf $name + |