Switch to unified view

a/src/Makefile.in b/src/Makefile.in
...
...
9
mandir = @mandir@
9
mandir = @mandir@
10
10
11
QMAKE = @QMAKE@
11
QMAKE = @QMAKE@
12
QTGUI = @QTGUI@
12
QTGUI = @QTGUI@
13
13
14
all: mk/sysconf common/rclversion.h
14
all: mk/sysconf 
15
    ${MAKE} -C lib
15
    ${MAKE} -C lib
16
    ${MAKE} -C index recollindex
16
    ${MAKE} -C index recollindex
17
    @NOQTMAKE@(cd $(QTGUI); ${QMAKE} recoll.pro)
17
    @NOQTMAKE@(cd $(QTGUI); ${QMAKE} recoll.pro)
18
    @NOQTMAKE@${MAKE} -C $(QTGUI) depth=..
18
    @NOQTMAKE@${MAKE} -C $(QTGUI) depth=..
19
    @NOCMDLINE@ ${MAKE} -C query recollq
19
    @NOCMDLINE@ ${MAKE} -C query recollq
20
20
21
mk/sysconf:
21
mk/sysconf:
22
    @echo "You need to run configure first" ; exit 1
22
    @echo "You need to run configure first" ; exit 1
23
23
24
versfile=common/rclversion.h
24
static: mk/sysconf
25
${versfile} : VERSION
26
  echo 'static const char *rclversionstr = "'`cat VERSION`'";'>> ${versfile}
27
28
static: mk/sysconf common/rclversion.h
29
    ${MAKE} -C lib
25
    ${MAKE} -C lib
30
    rm -f index/recollindex
26
    rm -f index/recollindex
31
    ${MAKE} -C index BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic \
27
    ${MAKE} -C index BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic \
32
            LIBXAPIANSTATICEXTRA="@LIBXAPIANSTATICEXTRA@" \
28
            LIBXAPIANSTATICEXTRA="@LIBXAPIANSTATICEXTRA@" \
33
           recollindex 
29
           recollindex 
...
...
44
    ${MAKE} -C lib clean
40
    ${MAKE} -C lib clean
45
    ${MAKE} -C query clean
41
    ${MAKE} -C query clean
46
    ${MAKE} -C utils clean
42
    ${MAKE} -C utils clean
47
    @NOQTMAKE@@-${MAKE} -C $(QTGUI) clean
43
    @NOQTMAKE@@-${MAKE} -C $(QTGUI) clean
48
    rm -f qtgui/Makefile qtgui/confgui/Makefile qtgui/recoll
44
    rm -f qtgui/Makefile qtgui/confgui/Makefile qtgui/recoll
49
  rm -f common/rclversion.h
50
    rm -f filters/rclexecm.pyc
45
    rm -f filters/rclexecm.pyc
51
    rm -rf qtgui/.moc qtgui/.ui qtgui/confgui/.moc qtgui/confgui/.ui
46
    rm -rf qtgui/.moc qtgui/.ui qtgui/confgui/.moc qtgui/confgui/.ui
52
    rm -rf qtgui/.obj qtgui/.moc qtgui/.ui 
47
    rm -rf qtgui/.obj qtgui/.moc qtgui/.ui 
53
    rm -rf python/recoll/build
48
    rm -rf python/recoll/build
54
    rm -rf $(QTGUI)/recoll.app
49
    rm -rf $(QTGUI)/recoll.app
...
...
59
    rm -f mk/sysconf mk/localdefs sampleconf/recoll.conf \
54
    rm -f mk/sysconf mk/localdefs sampleconf/recoll.conf \
60
       qtgui/recoll.pro \
55
       qtgui/recoll.pro \
61
       config.log config.status \
56
       config.log config.status \
62
       recollinstall \
57
       recollinstall \
63
       lib/*.dep common/autoconfig.h
58
       lib/*.dep common/autoconfig.h
59
  rm -f common/rclversion.h
64
    rm -f index/alldeps lib/alldeps query/alldeps bincimapmime/alldeps
60
    rm -f index/alldeps lib/alldeps query/alldeps bincimapmime/alldeps
65
    rm -rf autom4te.cache
61
    rm -rf autom4te.cache
66
62
67
maintainer-clean: distclean
63
maintainer-clean: distclean
68
    rm -f doc/user/*.html* doc/user/*.txt doc/user/HTML.manifest
64
    rm -f doc/user/*.html* doc/user/*.txt doc/user/HTML.manifest