Change the debian/rules file again
authorDimitrios Eftaxiopoulos <eftaxi12@otenet.gr>
Thu, 6 Jan 2011 20:22:53 +0000 (22:22 +0200)
committerDimitrios Eftaxiopoulos <eftaxi12@otenet.gr>
Thu, 6 Jan 2011 20:22:53 +0000 (22:22 +0200)
debian/rules
texinfo/png/Makefile.in

index 98cb9c56c0062823259388fe26b6a368b725b710..689ff9edb16a539a5109027c696f691a9cdadf5d 100755 (executable)
 export DH_VERBOSE=1
 export DH_OPTIONS=-v
 
-       ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
-               CFLAGS += -O0
-       else
-               CFLAGS += -O2
-       endif
-       ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-               NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-               MAKEFLAGS += -j$(NUMJOBS)
-       endif
-
 clean:
        dh_testdir
        rm -rf png/*.png texinfo/mgl_ru.info-*
        dh_auto_clean
-       dh_clean
+       dh_clean 
 
 build:
        dh_testdir
index b4d2d2919535c104a1126dc1580002c120aa6040..bf7b8af5f6b5066ef499b2ce22c260df4c93e050 100644 (file)
@@ -461,6 +461,7 @@ uninstall-am: uninstall-pngDATA
 
 $(png_images): hotdogs.pts # $(top_builddir)/examples/mgl_example
        $(top_builddir)/examples/mgl_example -kind=${@:.png=}
+       if test ! -d ../../png; then mkdir ../../png/; fi
        cp ${@} ../../png/
        touch $(srcdir)/../mathgl.texi