X-Git-Url: http://git.sven.stormbind.net/?a=blobdiff_plain;f=debian%2Frules;h=906519a60eabb273a59d6e3582181368dc1c86d1;hb=2d266e7b64a43fdf41e9300a6356d22997a1a86d;hp=1b1dd99e7e43b4f6f5f218341715aa18be06d155;hpb=7c0611e418f9b6462ae55c04467ac4ac033305c8;p=sven%2Fmysqltcl.git diff --git a/debian/rules b/debian/rules index 1b1dd99..906519a 100755 --- a/debian/rules +++ b/debian/rules @@ -26,9 +26,9 @@ LDFLAGS += -Wl,-z,defs -Wl,--as-needed CFLAGS += -Wall -g ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O2 -else CFLAGS += -O0 +else + CFLAGS += -O2 endif @@ -62,6 +62,9 @@ install: build dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/mysqltcl + mkdir $(CURDIR)/debian/mysqltcl/usr/lib/tcltk + mv $(CURDIR)/debian/mysqltcl/usr/lib/mysqltcl* \ + $(CURDIR)/debian/mysqltcl/usr/lib/tcltk rm -rf \ $(CURDIR)/debian/mysqltcl/usr/share/man/mann \ $(CURDIR)/debian/mysqltcl/usr/bin \