File: qdjango.pro

package info (click to toggle)
qdjango 0.2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,144 kB
  • sloc: cpp: 6,085; perl: 104; makefile: 6
file content (34 lines) | stat: -rw-r--r-- 767 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
include(qdjango.pri)

TEMPLATE = subdirs

SUBDIRS = src

android {
} else {
    SUBDIRS += tests examples
}

CONFIG += ordered

# Documentation generation
docs.commands = cd doc/ && doxygen

# Source distribution
QDJANGO_ARCHIVE = qdjango-$$QDJANGO_VERSION
dist.commands = \
    $(DEL_FILE) -r $$QDJANGO_ARCHIVE && \
    $(MKDIR) $$QDJANGO_ARCHIVE && \
    git archive master | tar -x -C $$QDJANGO_ARCHIVE && \
    $(COPY_DIR) doc/html $$QDJANGO_ARCHIVE/doc && \
    tar czf $${QDJANGO_ARCHIVE}.tar.gz $$QDJANGO_ARCHIVE && \
    $(DEL_FILE) -r $$QDJANGO_ARCHIVE
dist.depends = docs

# Install rules
htmldocs.files = doc/html
htmldocs.path = $$PREFIX/share/doc/qdjango
htmldocs.CONFIG += no_check_exist directory

QMAKE_EXTRA_TARGETS += dist docs
INSTALLS += htmldocs