Switch to unified view

a/src/Makefile b/src/Makefile
1
# @(#$Id: Makefile,v 1.14 2005-11-12 14:31:39 dockes Exp $  (C) 2005 J.F.Dockes
1
# @(#$Id: Makefile,v 1.15 2005-11-16 08:17:10 dockes Exp $  (C) 2005 J.F.Dockes
2
2
3
# Default values. These can be overridden on the command line ie: 
3
# Default values. These can be overridden on the command line ie: 
4
# make PREFIX=/usr
4
# make PREFIX=/usr
5
PREFIX=/usr/local
5
PREFIX=/usr/local
6
INSTALL = install -c
6
INSTALL = install -c
7
7
8
all: mk/sysconf
8
all: mk/sysconf common/rclversion.h
9
    cd lib; ${MAKE}
9
    cd lib; ${MAKE}
10
    cd bincimapmime; ${MAKE}
10
    cd bincimapmime; ${MAKE}
11
    cd index; rm -f recollindex; ${MAKE} recollindex
11
    cd index; rm -f recollindex; ${MAKE} recollindex
12
    cd qtgui; qmake recoll.pro; rm -f recoll; \
12
    cd qtgui; qmake recoll.pro; rm -f recoll; \
13
       cat ../mk/sysconf Makefile | \
13
       cat ../mk/sysconf Makefile | \
14
           ${MAKE} -f -
14
           ${MAKE} -f -
15
15
16
mk/sysconf:
16
mk/sysconf:
17
    ./configure
17
    ./configure
18
19
common/rclversion.h: VERSION
20
  (echo -n "static const char *rclversion= \"" && \
21
   echo -n `cat VERSION` && \
22
   echo "\";") > common/rclversion.h
18
23
19
static:
24
static:
20
    cd lib; ${MAKE}
25
    cd lib; ${MAKE}
21
    cd bincimapmime; ${MAKE}
26
    cd bincimapmime; ${MAKE}
22
    cd index; rm -f recollindex; \
27
    cd index; rm -f recollindex; \