X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Ftclcurl.git;a=blobdiff_plain;f=debian%2Frules;h=1e3bc3a73194e8981814cc484968d71f1cd07058;hp=92d16e66d56cfb5d019e4383044203abea092e4c;hb=8151189dec76ae0aabdc266a87ea5be5cda88b27;hpb=100d133f6b97b89b999179aaecfd91f4a08ee4f4 diff --git a/debian/rules b/debian/rules index 92d16e6..1e3bc3a 100755 --- a/debian/rules +++ b/debian/rules @@ -19,16 +19,18 @@ CONFIGURE_OPTIONS += \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-threads \ + --with-tcl=/usr/lib \ + --with-tclinclude=/usr/include/tcl \ LDFLAGS += -Wl,-z,defs -Wl,--as-needed -CFLAGS += -Wall -g +CFLAGS = -Wall -g -ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O2 -else +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 +else + CFLAGS += -O2 endif @@ -82,6 +84,7 @@ binary-arch: build install dh_installdocs Changes.txt dh_installman dh_installchangelogs ChangeLog.txt + dh_installexamples tests dh_link dh_strip dh_compress