X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=debian%2Frules;h=eefbb001cdadcc260870445867ba922fafd7196e;hb=2c5eccec873ddcf65c2c96b2b7d25507e23f4287;hp=1e1b8abc002a169c9c82762f0e390ab43199ad45;hpb=711f9528f1e649fe13894bc7061c206cee9a9e97;p=sven%2Ftclcurl.git diff --git a/debian/rules b/debian/rules index 1e1b8ab..eefbb00 100755 --- a/debian/rules +++ b/debian/rules @@ -23,12 +23,12 @@ CONFIGURE_OPTIONS += \ 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 @@ -62,6 +62,9 @@ install: build dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/tclcurl + mkdir $(CURDIR)/debian/tclcurl/usr/lib/tcltk + mv $(CURDIR)/debian/tclcurl/usr/lib/TclCurl* \ + $(CURDIR)/debian/tclcurl/usr/lib/tcltk rm -rf \ $(CURDIR)/debian/tclcurl/usr/share/man/mann \ $(CURDIR)/debian/tclcurl/usr/bin \