X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Ftclcurl.git;a=blobdiff_plain;f=debian%2Frules;h=99e4f0a9ade149f7f874858b91cc229fcfe54f62;hp=82b2120390fb728c250307a6c2cf2d7868019582;hb=40bdd0dee9c5b82cfd8c5b6297064d8516147ace;hpb=eefeec2c754fafab48b2f14a957969eccfc38889 diff --git a/debian/rules b/debian/rules index 82b2120..99e4f0a 100755 --- a/debian/rules +++ b/debian/rules @@ -19,13 +19,15 @@ 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))) +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 @@ -70,6 +72,11 @@ install: build $(CURDIR)/debian/tclcurl/usr/bin \ $(CURDIR)/debian/tclcurl/usr/include + chmod 644 \ + $(CURDIR)/tests/*.tcl \ + $(CURDIR)/tests/multi/double.tcl \ + $(CURDIR)/tests/multi/single.tcl + # Build architecture-independent files here. binary-indep: build install @@ -82,6 +89,7 @@ binary-arch: build install dh_installdocs Changes.txt dh_installman dh_installchangelogs ChangeLog.txt + dh_installexamples dh_link dh_strip dh_compress