* -pg just if profiling is enabled.
authorWilfried Göesgens <willi@citadel.org>
Tue, 26 May 2009 18:19:04 +0000 (18:19 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 26 May 2009 18:19:04 +0000 (18:19 +0000)
webcit/debian/rules

index 34ce33f21998b0d501292e8d5b3df6888f05ef3b..0a62396a7ad18123328dc3c7ff7fa29a1a156ee6 100755 (executable)
@@ -21,10 +21,10 @@ PROFILE_ARGS=
 
 ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS)))
        PROFILE_ARGS= --with-gprof
+       LDFLAGS += -pg 
 endif
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0 -ggdb -rdynamic -MD -MP -D TECH_PREVIEW -pedantic
-       LDFLAGS += -pg 
        EXTRA_ARGS =  --with-backtrace
 else
        CFLAGS += -O2
@@ -48,7 +48,7 @@ endif
                --prefix=/usr/sbin/ \
                --with-wwwdir=/usr/share/citadel-webcit \
                --with-localedir=/usr/share/ \
-               --with-editordir=/usr/share/tinymce/www \
+               --with-editordir=/usr/share/tinymce/www/ \
                --with-rundir=/var/run/citadel \
                --with-ical --with-db --with-ldap \
                 --with-ssldir=/etc/ssl/webcit/ \