#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_GS_LIBRARIES = Renaissance DEB_GS_AUTO_DH_INSTALL = y include /usr/share/cdbs/1/rules/gnustep.mk include /usr/share/cdbs/1/class/gnumakefile.mk ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) optim := debug=yes endif LDFLAGS += -Wl,-z,defs -Wl,--as-needed DEB_MAKE_INVOKE += $(optim) OBJCFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ messages=yes DEB_INSTALL_EXAMPLES_renaissance-doc = -X.arch-ids Examples DEB_DH_MAKESHLIBS_ARGS_librenaissance0 = -V clean:: find . -name .cvsignore | xargs rm -f DOCDEST = $(CURDIR)/debian/renaissance-doc gs-pre-install/Renaissance:: @ # install the development utilities echo '$(GNUSTEP_SYSTEM_APPS)/*.app' >> debian/librenaissance0-dev.install ifeq ($(GS_USE_FHS),yes) echo '/usr/bin/' >> debian/librenaissance0-dev.install endif install/librenaissance0-dev:: find . -name \*.desktop -delete install/renaissance-doc:: cp -r Documentation/Pregenerated/* $(DOCDEST)/usr/share/doc/renaissance-doc/html/manual cp -r Documentation/Tutorials/Renaissance/Pregenerated/* $(DOCDEST)/usr/share/doc/renaissance-doc/html/tutorial