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
$(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