diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-05-17 20:41:33 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-05-17 20:41:33 +0000 |
| commit | 58e4b6d9320ae9c2d00a85e9a9cfa6f4eafbe30d (patch) | |
| tree | 893bd5f4aee7a7ab96dadfa804de63773c83da4a /pokegen.pro | |
| parent | a52ab1891833bf68f23fe5ea271a7c1265a381e4 (diff) | |
[FIX] Pokemodr overlays are now in overlays, not images/overlays
[FIX] Better installing procedures
[FIX] Desktop file now valid
[FIX] Building now does not touch out of main directory
[FIX] Documentation moved around to proper places
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@145 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokegen.pro')
| -rwxr-xr-x | pokegen.pro | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/pokegen.pro b/pokegen.pro index d6c9f5dc..2937a742 100755 --- a/pokegen.pro +++ b/pokegen.pro @@ -15,13 +15,18 @@ SUBDIRS = general \ distsrc.target = distsrc distsrc.commands = ./make-tarball.sh $${VERSION} -doc.target = doc -doc.commands = pdflatex pokegen.tex && \ - pdflatex pokegen.tex && \ - rm pokegen.aux pokegen.log pokegen.out pokegen.toc && \ - mv pokegen.pdf ../doc/pokegen.pdf +QMAKE_EXTRA_UNIX_TARGETS += distsrc -QMAKE_EXTRA_UNIX_TARGETS += distsrc doc +isEmpty(PREFIX) { + PREFIX = $$(PREFIX) +} +isEmpty(PREFIX) { + PREFIX = /usr +} +documentation.path = $$PREFIX/share/doc/pokegen-$${VERSION} +documentation.files = DISCLAIMER \ + LICENSE +INSTALLS += documentation win32 { ; nsis-installer.target = nsis-installer @@ -31,10 +36,10 @@ win32 { } mac { } else { rpm.target = rpm - rpm.commands = rpmbuild -bt ../releases/pokegen-$${VERSION}.tar.bz2 && \ + rpm.commands = rpmbuild -ta ../releases/pokegen-$${VERSION}.tar.bz2 && \ cp /usr/src/redhat/RPMS/$${ARCH}/pokegen-$${VERSION}.$${ARCH}.rpm ../pkg/ && \ cp /usr/src/redhat/SRPMS/$${ARCH}/pokegen-$${VERSION}.src.rpm ../pkg/ - rpm.depends = distsrc doc + rpm.depends = distsrc ; deb.target = deb ; deb.commands = dpkg -b ; deb.depends = distsrc doc |
