Switch to unified view

a/src/Makefile.in b/src/Makefile.in
...
...
12
QTGUI = @QTGUI@
12
QTGUI = @QTGUI@
13
13
14
all: mk/sysconf common/rclversion.h
14
all: mk/sysconf common/rclversion.h
15
    cd lib; ${MAKE}
15
    cd lib; ${MAKE}
16
    cd index; ${MAKE} recollindex
16
    cd index; ${MAKE} recollindex
17
    cd $(QTGUI); ${QMAKE} recoll.pro; ${MAKE} depth=.. 
17
    @NOQTMAKE@cd $(QTGUI); ${QMAKE} recoll.pro; ${MAKE} depth=.. 
18
  @NOCMDLINE@ cd query; ${MAKE} recollq
18
19
19
mk/sysconf:
20
mk/sysconf:
20
    @echo "You need to run configure first" ; exit 1
21
    @echo "You need to run configure first" ; exit 1
21
22
22
versfile=common/rclversion.h
23
versfile=common/rclversion.h
...
...
25
26
26
static: mk/sysconf common/rclversion.h
27
static: mk/sysconf common/rclversion.h
27
    cd lib; ${MAKE}
28
    cd lib; ${MAKE}
28
    cd index; rm -f recollindex; \
29
    cd index; rm -f recollindex; \
29
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
30
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic recollindex
30
    cd $(QTGUI); $(QMAKE) recoll.pro; \
31
    @NOQTMAKE@cd $(QTGUI); $(QMAKE) recoll.pro; \
31
       rm -f recoll; \
32
    @NOQTMAKE@ rm -f recoll; \
32
       ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic depth=.. 
33
    @NOQTMAKE@ ${MAKE} BSTATIC=-Wl,-Bstatic BDYNAMIC=-Wl,-Bdynamic depth=.. 
33
34
34
clean:
35
clean:
35
    -cd common; ${MAKE} clean
36
    -cd common; ${MAKE} clean
36
    -cd index; ${MAKE} clean
37
    -cd index; ${MAKE} clean
37
    -cd internfile; ${MAKE} clean
38
    -cd internfile; ${MAKE} clean
38
    -cd lib; ${MAKE} clean
39
    -cd lib; ${MAKE} clean
39
    -cd query; ${MAKE} clean
40
    -cd query; ${MAKE} clean
40
    -cd utils; ${MAKE} clean
41
    -cd utils; ${MAKE} clean
41
        #cd doc/user; ${MAKE} clean
42
        #cd doc/user; ${MAKE} clean
42
    @-cd qtgui; ${MAKE} clean
43
    @NOQTMAKE@@-cd qtgui; ${MAKE} clean
43
    @-cd qt4gui; ${MAKE} clean
44
    @NOQTMAKE@@-cd qt4gui; ${MAKE} clean
45
  @NOCMDLINE@ cd query; ${MAKE} clean
44
    rm -f qtgui/Makefile qtgui/confgui/Makefile qtgui/recoll
46
    rm -f qtgui/Makefile qtgui/confgui/Makefile qtgui/recoll
45
    rm -f qt4gui/Makefile qt4gui/preview/Makefile qt4gui/recoll
47
    rm -f qt4gui/Makefile qt4gui/preview/Makefile qt4gui/recoll
46
    rm -f common/rclversion.h
48
    rm -f common/rclversion.h
47
    rm -rf qtgui/.moc qtgui/.ui qtgui/confgui/.moc qtgui/confgui/.ui
49
    rm -rf qtgui/.moc qtgui/.ui qtgui/confgui/.moc qtgui/confgui/.ui
48
    rm -rf qtgui/.obj qt4gui/.moc qt4gui/.ui qt4gui/.obj
50
    rm -rf qtgui/.obj qt4gui/.moc qt4gui/.ui qt4gui/.obj
...
...
56
       recollinstall \
58
       recollinstall \
57
       lib/*.dep common/autoconfig.h \
59
       lib/*.dep common/autoconfig.h \
58
       wasabi/Makefile wasabi/client/Makefile wasabi/server/Makefile
60
       wasabi/Makefile wasabi/client/Makefile wasabi/server/Makefile
59
    rm -f index/alldeps lib/alldeps query/alldeps
61
    rm -f index/alldeps lib/alldeps query/alldeps
60
    rm -rf autom4te.cache
62
    rm -rf autom4te.cache
61
    (cd qt4gui; make -f uifrom3 distclean)
63
    @NOQTMAKE@(cd qt4gui; make -f uifrom3 distclean)
62
64
63
maintainer-clean: distclean
65
maintainer-clean: distclean
64
    rm -f doc/user/*.html* doc/user/*.txt doc/user/HTML.manifest
66
    rm -f doc/user/*.html* doc/user/*.txt doc/user/HTML.manifest
65
    rm -f qtgui/i18n/*.qm
67
    rm -f qtgui/i18n/*.qm
66
68