diff options
-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 + |