X-Git-Url: http://git.sven.stormbind.net/?a=blobdiff_plain;f=debian%2Frules;h=906519a60eabb273a59d6e3582181368dc1c86d1;hb=2d266e7b64a43fdf41e9300a6356d22997a1a86d;hp=61fb953d0e8199f4a3793a2154561b7ee4ff3ac3;hpb=19e3e5ae82f8f85ee94d082a2ca5de842d14032d;p=sven%2Fmysqltcl.git diff --git a/debian/rules b/debian/rules index 61fb953..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 @@ -61,7 +61,10 @@ install: build dh_clean -k dh_installdirs - $(MAKE) install DESTDIR=$(CURDIR)/debian/mysqltcl/ + $(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 \