missed one!
[debian/atlc] / debian / rules
index 05f50d67a3d9c8c5c000aecdb1b3440c44cf7249..f391d2e40bf9c131006442ec0aa014c4b4b0d16a 100755 (executable)
@@ -9,13 +9,8 @@ DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -O2
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-       CFLAGS += -O0
-else
-       CFLAGS += -O2
-endif
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        INSTALL_PROGRAM += -s
 endif
@@ -28,6 +23,7 @@ config.status: configure
                --host=$(DEB_HOST_GNU_TYPE) \
                --build=$(DEB_BUILD_GNU_TYPE) \
                --prefix=/usr \
+               --docdir=\$${prefix}/share/doc/atlc \
                --mandir=\$${prefix}/share/man \
                --infodir=\$${prefix}/share/info \
                --enable-hardware-info
@@ -54,7 +50,7 @@ clean:
 install: 
        dh_testdir
        dh_testroot
-       dh_clean -k 
+       dh_prep 
        dh_installdirs 
        
        $(MAKE) install DESTDIR=$(CURDIR)/debian/atlc